DevOps Engineering on AWS Certification Trivia 4 — Questions and Answers
Question 1: Which AWS service can be used to centrally manage and distribute SSM parameters across multiple AWS accounts?
- AWS Organizations
- AWS Resource Access Manager
- AWS Systems Manager Parameter Store with cross-account sharing
- AWS Secrets Manager with replication (Correct answer)
Correct answer: AWS Secrets Manager with replication
AWS Secrets Manager supports cross-account sharing and automatic replication to multiple regions and accounts.
Question 2: In a blue/green deployment on AWS Elastic Beanstalk, what action is used to swap the environment URLs?
- Environment rebuild
- URL swap
- CNAME swap (Correct answer)
- DNS failover
Correct answer: CNAME swap
Elastic Beanstalk uses CNAME swap to instantly redirect traffic from the old (blue) environment to the new (green) one.
Question 3: What is the maximum number of versions you can store for a single AWS Lambda function?
- 10
- 75
- 1000 (Correct answer)
- Unlimited
Correct answer: 1000
AWS Lambda allows up to 1000 published versions per function in a given region.
Question 4: Which Amazon CloudWatch metric type requires you to publish your own data points using the PutMetricData API?
- Standard metrics
- High-resolution metrics
- Custom metrics (Correct answer)
- Embedded metrics
Correct answer: Custom metrics
Custom metrics are published by users via the PutMetricData API and are not automatically collected by AWS.
Question 5: Which AWS CodeBuild feature allows you to run build phases inside a Docker container of your choice?
- Build environments
- Custom build images (Correct answer)
- BuildSpec overrides
- Local caching
Correct answer: Custom build images
CodeBuild supports custom build images from ECR or Docker Hub to use any runtime or toolchain you need.
Question 6: What AWS service provides a dashboard to see the health of AWS services in real time and check if outages affect your region?
- AWS Trusted Advisor
- AWS Health Dashboard (Correct answer)
- Amazon CloudWatch
- AWS Config
Correct answer: AWS Health Dashboard
The AWS Health Dashboard provides real-time status and historical information about AWS service health by region.
Question 7: Which type of AWS CodeDeploy deployment group targets all instances simultaneously without traffic shifting?
- Canary
- Linear
- All-at-once (Correct answer)
- Blue/Green
Correct answer: All-at-once
All-at-once deployments update all instances in the deployment group simultaneously, causing potential downtime.
Which AWS service can be used to centrally manage and distribute SSM parameters across multiple AWS accounts?