2–5 years · Mid — Linux · CI/CD · Docker · Kubernetes · Terraform · Monitoring
Reviews the error message for specific resource details; checks the current state of the infrastructure against the desired state; considers running terraform refresh to update the state; examines any manual changes made to the infrastructure; plans the changes with terraform plan to ensure no further conflicts.
What strategies can you implement to prevent state file conflicts in the future?
Checks the pod's logs to identify the error message; inspects the pod's events for clues; verifies resource limits and requests; checks for configuration errors in environment variables or secrets; considers the readiness and liveness probes.
The logs show a missing configuration file. How can you ensure that configuration files are consistently available to your pods?
Communicates with stakeholders about the delay; assesses the impact on users and critical services; checks logs for the maintenance process; considers scaling down non-critical services; plans for a rollback if necessary.
How would you improve the maintenance process to avoid such overruns in the future?
Uses top or htop to identify the processes consuming the most CPU; checks the service's logs for errors or unexpected behaviour; reviews recent changes or deployments that may have affected performance; examines system metrics for memory or I/O bottlenecks; considers using strace to trace system calls.
The service is revealed to have inefficient queries. How can you address this issue?
Checks the container logs for error messages; inspects the Dockerfile for potential build issues; verifies the container's entry point and command; ensures all required environment variables and volumes are correctly set; tests the container locally to reproduce the issue.
The logs indicate a permissions error on a mounted volume. How do you resolve this?
Details the context of the deployment and the criteria for success; describes the issue that triggered the rollback, including any metrics or alerts; outlines the rollback procedure followed, including communication with the team; identifies lessons learned and changes made to prevent recurrence; reflects on stakeholder reactions and expectations.
What alternative strategies did you consider?
Load six more — you will get questions you have not seen first.
Give me six more →Say your answer out loud before revealing. Reading the answer first feels like learning and is not.