The AWS Certified DevOps Engineer – Professional (DOP-C02) exam validates your skills in automating the testing and deployment of AWS applications. It is ideal for those looking to advance their DevOps career.
What happens when an AWS Lambda function exceeds its timeout setting?
ALambda gracefully finishes running
BLambda execution is terminated immediately
CLambda retries the execution
DLambda logs an error without termination
Explanation
AWS Lambda will terminate the execution immediately upon reaching the timeout limit, unlike other options suggesting graceful handling or retries.
Q332
A company needs to ensure comprehensive logging for all actions taken by an IAM user. Which AWS service should they use?
AAWS CloudTrail
BAmazon CloudWatch
CAWS Config
DAWS X-Ray
Explanation
AWS CloudTrail records API calls made by IAM users, unlike other services that focus on different monitoring or logging functionalities.
Q333
You are configuring an Amazon S3 bucket to host a static website. What must you do to make bucket contents publicly accessible?
ASet the S3 bucket policy
BEnable versioning on the bucket
CActivate accelerated transfer
DSwitch to multi-region support
Explanation
Setting the S3 bucket policy is necessary to allow public access, whereas the other options do not relate to public accessibility.
Q334
Which service allows for continuous integration and delivery on AWS?
A company needs to automatically scale EC2 instances based on demand. Which service should they use?
AAWS Auto Scaling
BAmazon CloudFront
CElastic Load Balancing
DAWS Direct Connect
Explanation
AWS Auto Scaling adjusts EC2 instances automatically based on demand.
Q336
What happens when you terminate an EC2 instance with an EBS-backed root volume?
AData is lost, volume deleted
BData is retained, volume snapped
CData is retained, volume deleted
DData is burned, instance recreated
Explanation
EBS-backed volumes can retain data even after termination, if deleted on termination is not set.
Q337
Which AWS service allows you to run code without provisioning servers?
AAWS Lambda
BAWS EC2
CAWS Fargate
DAWS ECS
Explanation
AWS Lambda enables serverless execution, unlike EC2 or ECS which require server management.
Q338
A company needs to ensure data integrity during storage and transmission. Which service should they leverage?
AAWS CloudTrail
BAWS KMS
CAWS IAM
DAWS S3
Explanation
AWS KMS provides encryption for data integrity, which CloudTrail and IAM do not focus on directly.
Q339
You are configuring an Auto Scaling Group. What happens if the desired capacity is set below the minimum capacity during a scale-in event?
AAuto Scaling ignores the desired capacity
BInstances terminate until minimum is reached
CDesired capacity is ignored
DInstances remain untouched
Explanation
Auto Scaling will not reduce instances below the minimum setting, thereby ignoring lower desired capacities during scale-in.
Q340
Which service automatically scales AWS EC2 instances?
AAuto Scaling
BCloudFront
CElastic Load Balancing
DRoute 53
Explanation
Auto Scaling automatically adjusts the number of EC2 instances. CloudFront and Route 53 handle content delivery and DNS respectively, not scaling.