DevOps Engineering on AWS Certification Trivia 2 — Questions and Answers
Question 1: Which AWS service provides a fully managed source control hosting service that uses Git?
- AWS CodeCommit (Correct answer)
- AWS CodeBuild
- AWS CodeDeploy
- AWS CodeStar
Correct answer: AWS CodeCommit
AWS CodeCommit is a fully managed source control service that hosts secure Git-based repositories.
Question 2: What is the default retention period for AWS CloudTrail event history in the console?
- 30 days
- 90 days (Correct answer)
- 180 days
- 365 days
Correct answer: 90 days
CloudTrail event history is retained for 90 days by default in the AWS Management Console.
Question 3: Which deployment strategy in AWS CodeDeploy routes a percentage of traffic to the new version while keeping the rest on the old version?
- Blue/Green
- In-place
- Canary (Correct answer)
- Rolling
Correct answer: Canary
Canary deployments shift a small percentage of traffic to the new version first, then complete the full shift after validation.
Question 4: Which AWS service can automatically remediate non-compliant resources based on AWS Config rules?
- AWS Systems Manager Automation (Correct answer)
- AWS CloudFormation
- AWS Inspector
- AWS Macie
Correct answer: AWS Systems Manager Automation
AWS Config can trigger AWS Systems Manager Automation documents to automatically remediate non-compliant resources.
Question 5: What is the maximum size of a single object that can be uploaded to Amazon S3 using a single PUT operation?
- 100 MB
- 1 GB
- 5 GB (Correct answer)
- 10 GB
Correct answer: 5 GB
A single PUT operation to S3 supports objects up to 5 GB; larger objects require multipart upload.
Question 6: Which AWS Lambda feature allows you to deploy a new version while keeping the old version active and gradually shifting traffic?
- Lambda Layers
- Lambda Aliases with weighted routing (Correct answer)
- Lambda Provisioned Concurrency
- Lambda Environment Variables
Correct answer: Lambda Aliases with weighted routing
Lambda aliases support weighted routing, allowing you to shift a percentage of traffic between two function versions.
Question 7: In Amazon ECS, what is the smallest deployable unit of computing?
- Service
- Cluster
- Task (Correct answer)
- Container Instance
Correct answer: Task
An ECS Task is the smallest deployable unit, representing one or more containers that are scheduled together.
Which AWS service provides a fully managed source control hosting service that uses Git?