Choose the main reason why ensuring production readiness is essential before deploying applications on Kubernetes.
Think about what users expect from an application running in production.
Production readiness means the app can handle real traffic, recover from errors, and stay available. It does not guarantee no bugs but ensures reliability and stability.
Given this readiness probe configuration, what will Kubernetes report if the probe command fails?
readinessProbe:
exec:
command:
- cat
- /tmp/healthy
initialDelaySeconds: 5
periodSeconds: 10Readiness probes control if a pod receives traffic.
If the readiness probe fails, Kubernetes marks the pod as not ready and stops sending traffic to it until it passes again.
Put these steps in the correct order to prepare an app for production readiness in Kubernetes.
Think about what must be configured before testing and monitoring.
First configure resource limits, then add health checks, set up monitoring, and finally test in staging.
Which of these is the most likely cause for a pod restarting repeatedly in production?
Consider what triggers Kubernetes to restart a pod automatically.
If the liveness probe fails, Kubernetes assumes the pod is unhealthy and restarts it to recover.
Choose the best practice that directly improves production readiness by minimizing downtime during updates.
Think about how updates can be done without stopping service.
Rolling updates with readiness probes ensure new pods are ready before old ones are removed, minimizing downtime.