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 201–210 of 483
What happens when you disable versioning on an S3 bucket containing existing objects?
A
All versions are deleted
B
Only future uploads are affected
C
Versioning cannot be re-enabled
D
It causes an error on uploads
Reveal Answer
Explanation
Disabling versioning affects only future uploads, previous versions remain.
Which service allows for scalable event-driven architecture?
A
Amazon SQS
B
AWS Lambda
C
Amazon EC2
D
AWS Aurora
Reveal Answer
Explanation
AWS Lambda allows executing code in response to events, making it ideal for event-driven architecture.
A company needs to create a secure VPN connection to their AWS environment. Which AWS service should they utilize?
A
AWS Direct Connect
B
AWS VPN
C
Amazon RDS
D
AWS ELB
Reveal Answer
Explanation
AWS VPN establishes secure connections between on-premises networks and AWS.
You are configuring an IAM role for an EC2 instance to access S3. What happens when you forget to add the necessary S3 permissions?
A
No impact on the EC2 instance
B
EC2 instance cannot access S3
C
S3 access is granted by default
D
Instance fails to launch
Reveal Answer
Explanation
Without the necessary S3 permissions, the EC2 instance cannot access S3 resources.
Which AWS service allows for proactive monitoring of application logs?
A
Amazon CloudWatch Logs
B
AWS CloudFormation
C
Amazon S3
D
AWS Lambda
Reveal Answer
Explanation
Amazon CloudWatch Logs is designed specifically for monitoring logs, while the others serve different purposes.
A company needs to ensure that its EC2 instances can automatically scale based on traffic. Which approach should they use?
A
EC2 Reserved Instances
B
Amazon CloudWatch Alarms
C
Elastic Load Balancing
D
Auto Scaling Groups
Reveal Answer
Explanation
Auto Scaling Groups enable automatic scaling based on defined policies, whereas the other options do not provide automatic scaling.
What happens when you set a file’s S3 bucket policy to deny all public access?
A
File can be accessed publicly
B
Only user permissions matter
C
File cannot be accessed publicly
D
Policy is ignored entirely
Reveal Answer
Explanation
Setting the bucket policy to deny public access ensures files cannot be accessed publicly, contrary to the other options.
Which service can automatically scale based on demand?
A
Amazon EC2 Auto Scaling
B
AWS Lambda
C
Amazon RDS
D
Amazon S3
Reveal Answer
Explanation
Amazon EC2 Auto Scaling adjusts resources dynamically, while others handle specific tasks or use cases.
A company needs to prevent public access to specific S3 buckets. What should they configure?
A
Public Access Block Settings
B
Bucket Versioning
C
Data Lifecycle Policies
D
Cross-Origin Resource Sharing
Reveal Answer
Explanation
Public Access Block Settings ensure buckets are not publicly accessible, unlike other options which serve different functionalities.
You are configuring a CI/CD pipeline in AWS CodePipeline. What happens when a build fails in CodeBuild?
A
Pipeline stops running
B
Success notification is sent
C
Automatic rollback occurs
D
CodeBuild restarts the build
Reveal Answer
Explanation
The pipeline halts if a build fails; other options are incorrect actions for failure state handling in CodePipeline.