← Back to Quiz Home
This quiz tests your knowledge on optimizing builds, handling deployment strategies (Canary, Rolling), and container orchestration nuances (EKS/ECS).
What is "Drift Detection" in AWS CloudFormation?
Drift detection checks if resources (e.g., Security Group rules) have been manually modified outside of CloudFormation.
How can you speed up a slow build process in AWS CodeBuild?
Caching dependencies (like node_modules or pip cache) to S3 significantly reduces build time.
When using Terraform with an S3 backend, what is needed to implement state locking?
Terraform uses a DynamoDB table to acquire a lock, preventing concurrent state modifications.
What is a "Canary Deployment" strategy?
Canary deployments minimize the blast radius of a bad release.
How does AWS EKS handle permissions for individual Pods securely?
IRSA uses OIDC to map a Kubernetes Service Account to an IAM Role, adhering to the principle of least privilege.
In AWS Lambda, what creates the "Image Manifest Error" (exec format error) for container images?
You must build with --platform linux/amd64 if targeting x86 Lambda functions, especially from Apple Silicon Macs.
What is "Immutable Infrastructure"?
Immutable infrastructure prevents configuration drift and ensures that the deployed artifact is exactly what was tested.
How do you optimize a Docker image size for faster deployment?
Multi-stage builds allow you to compile in a heavy image and copy only the binary to a lightweight runtime image.
What is the difference between ECS Launch Types: Fargate vs. EC2?
Fargate abstracts the infrastructure management, charging per vCPU/RAM of the task.
What mechanism in CodeDeploy helps prevent a failed deployment from affecting all users in a Rolling update?
CodeDeploy monitors the health of instances during deployment and stops if too many fail, ensuring availability.
How can you trigger an automatic rollback in CodeDeploy if an application error rate spikes?
If the alarm breaches (e.g., HTTP 500 errors > 1%), CodeDeploy halts the deployment and rolls back to the previous version.
In AWS Systems Manager, what is the safest way to store a database password?
SecureString parameters use KMS to encrypt the data at rest.
What serves as the "source of truth" in a GitOps workflow?
In GitOps, the desired state of the infrastructure is declared in Git, and an agent ensures the live cluster matches it.
How can you manage CloudFormation stacks across multiple accounts and regions centrally?
StackSets allow you to create, update, or delete stacks across multiple accounts and regions with a single operation.
What is a "Nested Stack" in CloudFormation?
Nested stacks help overcome resource limits and allow for modularizing large templates.
Using OpsWorks provides managed instances of which configuration management tools?
OpsWorks is a configuration management service that provides managed Chef and Puppet instances.
How do you securely pass secrets to an ECS Task definition?
The ECS agent injects the sensitive data as environment variables at runtime, keeping them out of the task definition text.
What is the "hub-and-spoke" network topology service frequently managed by DevOps for connectivity?
Transit Gateway simplifies network architecture by connecting VPCs and on-premises networks through a central hub.
Which deployment strategy involves creating a completely new environment (Green) alongside the existing one (Blue) and switching the load balancer?
Blue/Green allows for instant traffic switching and instant rollback but requires double the capacity temporarily.
What is "Compliance as Code" using AWS Config?
It involves codified rules that continuously monitor resource configuration for compliance with internal policies.
Quiz Progress
0 / 0 questions answered
(0%)
0 correct
Quiz Complete!
0%
📚 Study Guides
📬 Weekly DevOps, Cloud & Gen AI quizzes & guides