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.
Topic: OpenShift in IT Infrastructure · Interview preparation
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?
- What does a PodDisruptionBudget protect?
- Does StatefulSet automatically make a database highly available?
- How do etcd and application backups differ in OpenShift?
- How would you evaluate a backup against a recovery-point objective?
- What should be checked before and after a restore?
- How should you answer the complete order-service scenario?
- References
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.
| Mechanism | Useful purpose | Limit to explain |
|---|---|---|
| Replicas across failure domains | Reduce exposure to a defined instance or node loss | Shared data and dependencies may still fail |
| PodDisruptionBudget | Constrain qualifying voluntary disruption | Cannot prevent involuntary failure |
| Deployment update settings | Control rollout surge and unavailability | Do not reserve capacity or prove application correctness |
| Backups and restore procedure | Recover specified state and data | Must 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 item | Invented value | Decision |
|---|---|---|
| Allowed application-data loss | 15 minutes | Target for the recovery point |
| Latest usable application-data recovery point | 09:00 | 45 minutes before the simulated failure |
| Failure time | 09:45 on the same date and clock | Data gap exceeds the target by 30 minutes |
| Recent etcd snapshot | 09:40 | Does 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
- OpenShift 4.22 architecture guide
- Kubernetes disruption and availability guidance
- Kubernetes StatefulSet concepts
- Kubernetes persistent volume concepts
- OpenShift 4.22 control plane backup and restore
- OpenShift 4.22 backup and restore guide
- OpenShift 4.22 authentication and authorization guide
- OpenShift 4.22 Route guide
Frequently Asked Questions
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0