Results
Sorry, you were so close! Review Your Answers Below!!
Better Luck Next Time!
#1. 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.
#2. Which backend is commonly used to store Terraform state in AWS?
Explanation: S3 is the most common backend for storing Terraform state files.
#3. 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.
#4. Which of the following best describes a microservices architecture?
Explanation: Microservices architecture breaks down applications into smaller, loosely coupled services that can be developed, deployed, and scaled independently.
#5. 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.
#6. Scenario: Your team is frequently experiencing merge conflicts when integrating code. What should you implement to mitigate this issue?
Explanation: Continuous Integration helps to frequently merge code changes into a shared repository, reducing the chances of merge conflicts by identifying them early.
#7. You notice a pod in the CrashLoopBackOff state. What should you check first?
Explanation: Pod logs often provide the root cause of the failure.
#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. You encounter a lock error when running terraform apply. What might resolve it?
Explanation: Force-unlocking resolves lock contention issues in Terraform state files.
#10. 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.
#11. What happens if a resource is removed from the Terraform configuration?
Explanation: Terraform manages the lifecycle of resources defined in its configuration.
#12. Which of the following is a primary goal of DevOps?
Explanation: DevOps aims to speed up software development by fostering collaboration between development and operations teams and automating processes.
#13. 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.
#14. How do you define a reusable module in Terraform?
Explanation: Modules are created by grouping Terraform configuration files into directories.
#15. Which provider configuration syntax is correct in Terraform?
Explanation: Provider blocks define configurations for Terraform providers.

