OpenShift Interview Questions on Availability and Recovery

Availability and recovery interview questions ask which failure the design can tolerate and which data it can restore. Explain replica placement, disruption controls, application consistency and backup scope separately. More replicas do not replace a tested recovery plan, and an etcd snapshot does not contain persistent volume data.

Aug 20, 2024 - 09:53
Updated: 
102.8k

OpenShift in IT Infrastructure · Interview preparation

OpenShift Interview Questions on Availability and Recovery

Quick answer: Availability and recovery interview questions ask which failure the design can tolerate and which data it can restore. Explain replica placement, disruption controls, application consistency and backup scope separately. More replicas do not replace a tested recovery plan, and an etcd snapshot does not contain persistent volume data. These original questions use a fictional order service whose application-data backup is too old for its stated recovery-point target. Product-specific answers follow OpenShift Container Platform 4.22 documentation and require matching supported procedures for a real recovery. OpenShift Container Platform 5.0 became generally available on 9 November 2026, so check the documentation for the version your cluster runs.

Key takeaways

  • Define the failure scenario before recommending replicas or topology.
  • Distinguish voluntary disruption controls from involuntary failures.
  • Separate control plane recovery from application-data recovery.
  • Compare backup age with a stated recovery-point objective.
  • Verify restored application behavior and access, not only backup completion.

Table of Contents

How do you distinguish high availability from disaster recovery?

High availability aims to keep a service operating through defined failures. Disaster recovery restores required service and data after a disruptive event. Both need a stated failure scope: one container, a node, a storage system or a whole location create different requirements.

The OpenShift architecture guide explains platform responsibilities and topology. Application availability also depends on its replicas, state, dependencies and placement. A healthy control plane does not prove that the application's database is available.

Interview question: can three application replicas on one node tolerate that node's loss? Their count alone does not provide that protection. Explain placement across the relevant failure domains, then consider whether shared dependencies still create a common failure. Do not promise availability from a replica count without the design context.

What does a PodDisruptionBudget protect?

The Kubernetes disruption guide describes PodDisruptionBudgets as limits on qualifying voluntary disruptions through mechanisms that respect them. A PDB cannot prevent an involuntary node failure. Direct deletion and workload rollout behavior also have important limitations described in the guide.

Question: will a PDB keep all replicas available during every update? No. Explain which controller or operation is acting and how it handles disruption. Deployment rollout availability is controlled by the workload's own update settings; a PDB is not a universal override for every change.

For a maintenance interview case, ask about current readiness and the budget before a planned eviction. If too few replicas are already healthy, a respecting operation may be blocked. That protects the stated availability constraint but does not repair the unhealthy application.

MechanismUseful purposeLimit to explain
Replicas across failure domainsReduce exposure to a defined instance or node lossShared data and dependencies may still fail
PodDisruptionBudgetConstrain qualifying voluntary disruptionCannot prevent involuntary failure
Deployment update settingsControl rollout surge and unavailabilityDo not reserve capacity or prove application correctness
Backups and restore procedureRecover specified state and dataMust match scope, compatibility and tested objectives

Does StatefulSet automatically make a database highly available?

A StatefulSet supplies stable identities and storage-related workload behavior. The StatefulSet guide explains those properties. The database still needs its own replication, consistency, quorum and recovery design; the workload controller does not invent that application logic.

The persistent volume guide describes storage access and lifecycle. A volume can persist beyond a Pod, but persistence alone does not establish a separate recoverable copy or protection against corrupted data.

Question: a database has three StatefulSet replicas; is the newest order guaranteed to survive a storage failure? Ask how the database acknowledges writes, replicates data and handles the stated failure. The resource kind and replica count are insufficient evidence of those guarantees.

How do etcd and application backups differ in OpenShift?

The control plane recovery guide documents etcd snapshots and supported restoration requirements. It explicitly states that persistent volume contents are not part of the etcd snapshot. A resource record referring to a volume is different from the data stored in that volume.

The backup and restore guide separates application protection with OADP from control plane recovery. It also says OADP is not a disaster recovery solution for etcd or OpenShift Operators. Check the supported OADP, platform, storage and plugin combination for the intended application backup method.

Question: can restoring yesterday's etcd snapshot recover today's deleted customer records? Not from the snapshot alone. Establish which application-data backup or database recovery mechanism contains the needed records and how consistency is achieved.

How would you evaluate a backup against a recovery-point objective?

In a fictional order-service exercise, the owner allows at most 15 minutes of lost committed data. The latest usable application-data recovery point is 09:00, and the simulated failure occurs at 09:45 on the same clock and date. This is the supplied recoverable data time, not merely the time a backup job finished. There is no later usable log-based recovery mechanism in the scenario.

The potential gap is 45 minutes, which exceeds the stated 15-minute target by 30 minutes. A successful backup-job status therefore does not establish that the recovery-point objective is met. The recent etcd snapshot at 09:40 does not close the application-data gap.

Ask the data owner about a supported recovery mechanism with a suitable recovery point, and verify it through an approved restore exercise. Backup frequency alone also cannot prove recoverability: retention, consistency and usable recovery artifacts matter.

Supplied itemInvented valueDecision
Allowed application-data loss15 minutesTarget for the recovery point
Latest usable application-data recovery point09:0045 minutes before the simulated failure
Failure time09:45 on the same date and clockData gap exceeds the target by 30 minutes
Recent etcd snapshot09:40Does not contain the application volume data

What should be checked before and after a restore?

Before a real restoration, follow the exact supported procedure and confirm the environment, permissions and artifact compatibility. The 4.22 control plane guide requires an etcd backup from the same z-stream release for its documented restore procedures. A generic older snapshot is not automatically a compatible recovery artifact.

After restoration, validate the intended application data and behavior with its owner. Confirm required dependencies, routing and access boundaries. The authorization guide helps frame access review, while the Route guide describes the external traffic path.

Question: does a restored login page prove order processing recovered? It proves only the tested page response. Check an agreed representative workflow using approved non-sensitive test data, then compare recovered records with the expected recovery point. Keep the results and unresolved discrepancies in the exercise report.

How should you answer the complete order-service scenario?

State that the supplied application-data recovery point misses the owner's objective: 45 minutes of possible loss against an allowed 15. The 09:40 etcd snapshot has a different scope and does not provide the missing application data. A backup completion status cannot resolve that mismatch.

Recommend an owner-reviewed recovery design that addresses the stated data target and a separate recovery-time target. The latter concerns how long restoration and service verification may take; it is not the same measurement as the age of recovered data.

For the interview follow-up, ask what would change if usable database logs extended recovery to 09:35. That would create a 10-minute gap under the supplied assumptions, but consistency, successful restore and application acceptance would still require evidence. Keep the arithmetic separate from claims about a real recovery system.

Related reading: OpenShift architecture interview questions; OpenShift failure diagnosis; OpenShift rollout interview practice.

References

Frequently Asked Questions

Replica placement and shared dependencies matter, so several replicas on one node do not by themselves tolerate loss of that node.

A PDB constrains qualifying voluntary disruptions through respecting operations, while involuntary failures can still make replicas unavailable.

StatefulSet supplies workload identity and storage-related behavior, while the database needs its own replication, consistency and recovery design.

The OpenShift control plane recovery guide explicitly excludes persistent volume contents, so application-data recovery requires an appropriate separate mechanism.

OpenShift documentation separates these scopes and says OADP does not provide disaster recovery for etcd or OpenShift Operators.

The usable recovered data must be recent enough for the stated objective, and the artifacts must also support a successful consistent restore.

The documented 4.22 procedures require matching z-stream backup compatibility and other prerequisites, so follow the exact supported recovery procedure.

They are paper calculations over supplied times and objectives, without cluster restoration, database recovery or measured application availability.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Anjali

I am passionate about technology, invention and big challenging tasks on my to- do list. In terms of the work I am doing also at Bunnyshell, I am most passionate about the technologies that we are using., I'm devoted to delivering content that not only informs but also inspires. Whether you need in- depth analysis pieces, educational attendants, or study- provoking opinion pieces, I draft content that resonates with tech suckers and professionals likewise.