Results
Sorry, you were so close! Review Your Answers Below!!
Better Luck Next Time!
#1. What is the primary purpose of a Kubernetes Ingress?
Explanation: Ingress manages HTTP and HTTPS traffic routing to Kubernetes services.
#2. You encounter an issue where a container cannot connect to an external API. What should you check first?
Explanation: Networking issues, including DNS, often cause connectivity problems.
#3. You notice a pod in the CrashLoopBackOff state. What should you check first?
Explanation: Pod logs often provide the root cause of the failure.
#4. What is Infrastructure as Code (IaC)?
Explanation: IaC involves managing infrastructure through code, making it easier to deploy, manage, and scale environments.
#5. What does the term "shift left" refer to in DevOps?
Explanation: “Shift left” means integrating and addressing issues like security and testing earlier in the development cycle to identify and resolve problems sooner.
#6. Scenario: Your application needs to be deployed across multiple environments (development, staging, production) with consistent configurations. What should you use?
Explanation: IaC allows you to manage and provision infrastructure through code, ensuring consistency across different environments.
#7. What is the primary benefit of using version control systems like Git in DevOps?
Explanation: Version control systems help track and manage code changes, facilitating collaboration and improving code quality.
#8. Scenario: Your team needs to develop, test, and deploy applications quickly and reliably. What approach should you adopt?
Explanation: Agile and DevOps practices promote collaboration, automation, and iterative development, enabling faster and more reliable application delivery.
#9. Which practice involves automated testing, building, and deployment of code?
Explanation: Continuous Deployment involves the automatic deployment of code to production environments following successful automated tests.
#10. What type of Kubernetes service is used to expose an application to the internet?
Explanation: A LoadBalancer service routes external traffic to the application.
#11. How do you define a reusable module in Terraform?
Explanation: Modules are created by grouping Terraform configuration files into directories.
#12. Which tool is commonly used for continuous integration and continuous delivery (CI/CD)?
Explanation: Jenkins is a popular open-source automation server used to implement CI/CD pipelines.
#13. You encounter a lock error when running terraform apply. What might resolve it?
Explanation: Force-unlocking resolves lock contention issues in Terraform state files.
#14. Which Docker command would you use to view all running and stopped containers on a host?
Explanation: The -a flag shows all containers, including stopped ones.
#15. How would you prevent sensitive data from being logged in Terraform state files?
Explanation: Marking variables as sensitive ensures they are not logged in plaintext.

