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. What is the role of Kubernetes in a DevOps environment?
Explanation: Kubernetes is a container orchestration platform that automates the deployment, scaling, and management of containerized applications.
#3. Scenario: You want to ensure that your application can handle a sudden increase in traffic. What should you implement?
Explanation: Load testing helps simulate high traffic conditions and identifies potential bottlenecks, ensuring your application can handle increased loads.
#4. What happens if a resource is removed from the Terraform configuration?
Explanation: Terraform manages the lifecycle of resources defined in its configuration.
#5. How do you define a reusable module in Terraform?
Explanation: Modules are created by grouping Terraform configuration files into directories.
#6. 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.
#7. 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.
#8. 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.
#9. 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.
#10. What does the terraform refresh command do?
Explanation: terraform refresh syncs the state file with actual resource statuses.
#11. Which backend is commonly used to store Terraform state in AWS?
Explanation: S3 is the most common backend for storing Terraform state files.
#12. You need to securely inject sensitive data into a Kubernetes pod. What should you use?
Explanation: Secrets are used to manage sensitive data securely in Kubernetes.
#13. Which Terraform command is used to apply changes to infrastructure?
Explanation: terraform apply applies the planned changes to the infrastructure.
#14. You need to deploy an application with a dependency on a specific version of a library. How do you ensure the container uses the correct version?
Explanation: The FROM directive determines the base image version, ensuring consistency.
#15. You want to run a container in the background and expose a port. Which command should you use?
Explanation: The -d flag runs the container in detached mode, and -p maps ports.

