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 21–30 of 483

Q21

What happens when you enable AWS S3 versioning on a bucket?

  • A Deleted objects are stored forever
  • B Existing objects are removed automatically
  • C Duplicates are merged
  • D Only new objects are versioned
Explanation Enabling versioning allows all versions, including deleted ones, to be stored, while other options incorrectly describe versioning behavior.
Q22

Which service provides a serverless compute environment?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon RDS
  • D Amazon EFS
Explanation AWS Lambda enables execution of code without provisioning servers, whereas EC2 and RDS require server management and EFS is a file storage service.
Q23

A company needs to automate the deployment of multiple EC2 instances based on a schedule. What AWS service should they use?

  • A Amazon EC2 Auto Scaling
  • B AWS Lambda
  • C Amazon CloudWatch Events
  • D AWS CloudFormation
Explanation Amazon CloudWatch Events can trigger scheduled actions, including instance launches, while Auto Scaling manages scaling based on load and Lambda is event-driven execution without scheduling capabilities.
Q24

You are configuring IAM roles for an application that requires access to S3 and DynamoDB. If the IAM policy is too permissive, what security risk might arise?

  • A Data loss due to accidental deletion
  • B Increased latency in service response
  • C Unauthorized data exposure or modification
  • D Higher costs in AWS billing
Explanation A permissive IAM policy can allow unauthorized access, risking data exposure, while other options pertain to different issues not directly related to IAM permissions.
Q25

A company needs to deliver updates to its software smoothly. Which AWS service should they use to manage the deployment process?

  • A AWS CodeDeploy
  • B AWS Lambda
  • C AWS CloudFormation
  • D AWS S3
Explanation AWS CodeDeploy automates application deployments, while the others serve different purposes.
Q26

What happens when an EC2 instance's associated IAM role is modified but is currently running?

  • A Permissions are immediately updated
  • B Instance must be restarted
  • C Permissions remain unchanged
  • D IAM roles are deleted
Explanation IAM role permissions are applied immediately without restarting the instance.
Q27

Which service provides real-time monitoring and log management for AWS resources?

  • A AWS CloudWatch
  • B AWS Inspector
  • C AWS Step Functions
  • D AWS Config
Explanation AWS CloudWatch is designed for monitoring and logging activities; the others serve distinct functions.
Q28

Which service provides a fully managed NoSQL database?

  • A DynamoDB
  • B RDS
  • C S3
  • D EFS
Explanation DynamoDB is a fully managed NoSQL database; RDS is for SQL databases, S3 is for object storage, and EFS is a file storage service.
Q29

A company needs to manage multiple AWS accounts securely. Which service should they use?

  • A AWS Organizations
  • B CloudFormation
  • C EC2
  • D CloudTrail
Explanation AWS Organizations allows for secure management of multiple accounts; the other options do not manage account security.
Q30

What happens when an EC2 instance's EBS volume is deleted while the instance is still running?

  • A Instance shuts down safely
  • B Data is preserved
  • C Instance remains but without storage
  • D Instance throws an error and stops
Explanation The instance remains running without the deleted volume; the other options incorrectly imply data preservation or shutdown errors.