Results
Sorry, you were so close! Review Your Answers Below!!
Better Luck Next Time!
#1. 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.
#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 Kubernetes object should you use to maintain a specified number of pod replicas running?
Explanation: ReplicaSet ensures a specified number of pod replicas. Deployments use ReplicaSets under the hood.
#4. 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.
#5. Which Terraform command is used to apply changes to infrastructure?
Explanation: terraform apply
applies the planned changes to the infrastructure.
#6. What does the terraform refresh command do?
Explanation: terraform refresh
syncs the state file with actual resource statuses.
#7. What happens if a resource is removed from the Terraform configuration?
Explanation: Terraform manages the lifecycle of resources defined in its configuration.
#8. You encounter a lock error when running terraform apply. What might resolve it?
Explanation: Force-unlocking resolves lock contention issues in Terraform state files.
#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. Which command can you use to debug a running Kubernetes pod?
Explanation: Each command provides specific debugging information: logs for output, exec for shell access, and describe for configuration details.
#11. 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.
#12. 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.
#13. 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.
#14. Which provider configuration syntax is correct in Terraform?
Explanation: Provider blocks define configurations for Terraform providers.
#15. 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.