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
Start Mock Test Timed · Full-length · Scored

Questions 201–210 of 483

Q201

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
Explanation Disabling versioning affects only future uploads, previous versions remain.
Q202

Which service allows for scalable event-driven architecture?

  • A Amazon SQS
  • B AWS Lambda
  • C Amazon EC2
  • D AWS Aurora
Explanation AWS Lambda allows executing code in response to events, making it ideal for event-driven architecture.
Q203

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
Explanation AWS VPN establishes secure connections between on-premises networks and AWS.
Q204

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
Explanation Without the necessary S3 permissions, the EC2 instance cannot access S3 resources.
Q205

Which AWS service allows for proactive monitoring of application logs?

  • A Amazon CloudWatch Logs
  • B AWS CloudFormation
  • C Amazon S3
  • D AWS Lambda
Explanation Amazon CloudWatch Logs is designed specifically for monitoring logs, while the others serve different purposes.
Q206

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
Explanation Auto Scaling Groups enable automatic scaling based on defined policies, whereas the other options do not provide automatic scaling.
Q207

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
Explanation Setting the bucket policy to deny public access ensures files cannot be accessed publicly, contrary to the other options.
Q208

Which service can automatically scale based on demand?

  • A Amazon EC2 Auto Scaling
  • B AWS Lambda
  • C Amazon RDS
  • D Amazon S3
Explanation Amazon EC2 Auto Scaling adjusts resources dynamically, while others handle specific tasks or use cases.
Q209

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
Explanation Public Access Block Settings ensure buckets are not publicly accessible, unlike other options which serve different functionalities.
Q210

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
Explanation The pipeline halts if a build fails; other options are incorrect actions for failure state handling in CodePipeline.