Amazon AWS
AWS Certified DevOps Engineer – Professional
DOP-C02
Popular
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.
483 questions
0 views
Free
Questions 231–240 of 483
What happens when an S3 bucket policy denies access to a specific AWS account?
A
Access is always denied globally
B
Only IAM permissions matter
C
Access is allowed if public
D
Access is denied for that account only
Reveal Answer
Explanation
Access is denied only for the specified AWS account, regardless of IAM permissions or public settings.
Which service provides automatic scaling of resources in AWS?
A
AWS Auto Scaling
B
AWS CloudFormation
C
Amazon EC2
D
AWS Lambda
Reveal Answer
Explanation
AWS Auto Scaling adjusts resource capacity automatically; the others do not perform this function.
A company needs to ensure that IAM policies are reviewed regularly. What mechanism fulfills this requirement?
A
IAM Access Analyzer
B
AWS Config
C
CloudTrail
D
AWS Trusted Advisor
Reveal Answer
Explanation
AWS Config provides resource compliance auditing; the others offer different functionalities around security insights.
What happens when a Lambda function execution reaches its timeout limit?
A
The function stops processing.
B
It retries automatically.
C
The execution is logged.
D
The request times out only.
Reveal Answer
Explanation
The Lambda function stops processing upon timeout; retries only occur in specific cases per error types.
Which service is best for continuous integration and delivery?
A
AWS CodePipeline
B
Amazon EC2
C
AWS Lambda
D
Amazon RDS
Reveal Answer
Explanation
AWS CodePipeline automates CI/CD pipelines, while others serve different purposes.
You are configuring an Auto Scaling group. What happens when the desired capacity is set to 5 and the current running instances is 3?
A
5 instances will launch
B
3 instances will shut down
C
No action taken
D
Only 2 instances will launch
Reveal Answer
Explanation
Auto Scaling will launch 2 additional instances to meet desired capacity.
A company needs to secure its AWS resources using IAM policies. What is the effect of a policy allowing 's3:ListBucket' on an explicitly denied user?
A
Access is granted to list objects.
B
Access is denied for S3 listing.
C
User gains all access permissions.
D
User can list only non-sensitive buckets.
Reveal Answer
Explanation
Explicit Deny overrides all allows, blocking access completely.
Which AWS service automatically scales resources in response to demand?
A
Amazon EC2 Auto Scaling
B
AWS CloudFormation
C
Amazon RDS
D
AWS Lambda
Reveal Answer
Explanation
Amazon EC2 Auto Scaling adjusts instance numbers based on load; others do not provide automatic scaling capabilities.
A company needs to deploy applications using containers. Which service should they use for orchestration?
A
Amazon ECS
B
AWS CloudFormation
C
AWS CodePipeline
D
Amazon EFS
Reveal Answer
Explanation
Amazon ECS is designed for container orchestration, while others serve different functions.
What happens when you apply a Terraform configuration with an 'improper variable reference'?
A
The plan applies successfully.
B
Terraform aborts the apply process.
C
Resource state is unaffected.
D
Outputs are displayed only.
Reveal Answer
Explanation
Terraform aborts the apply process if it encounters variable issues, preventing incomplete or erroneous configurations.