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 351–360 of 483

Q351

You are configuring an Amazon CloudFront distribution. What happens when an object is requested but not found in the cache?

  • A Error 404 is returned immediately
  • B The origin server is contacted
  • C The request is dropped silently
  • D CloudFront serves a cached 404 page
Explanation CloudFront contacts the origin to retrieve the object if not found in the cache, unlike returning an error or dropping the request.
Q352

Which service is ideal for event-driven serverless applications?

  • A Amazon S3
  • B AWS Lambda
  • C Amazon EC2
  • D Amazon RDS
Explanation AWS Lambda allows you to run code in response to events, while S3 and EC2 are for storage and compute respectively, and RDS is for managed databases.
Q353

A company needs to automate its CI/CD pipeline using AWS services. Which service combination would you recommend?

  • A AWS CodeCommit and CodeDeploy
  • B Elastic Beanstalk and Lambda
  • C EC2 and RDS
  • D CloudFormation and IAM
Explanation AWS CodeCommit and CodeDeploy are specifically designed for creating and deploying CI/CD pipelines, unlike the other options that serve different purposes.
Q354

You are configuring an S3 bucket policy to allow public read access. What happens if you use an invalid condition statement?

  • A Public access is granted
  • B Request is denied automatically
  • C Bucket becomes private
  • D Error is logged only
Explanation An invalid condition statement results in the bucket policy being evaluated as denied, ensuring enhanced security.
Q355

You are deploying a serverless application. Which AWS service best manages serverless functions?

  • A AWS Lambda
  • B Amazon EC2
  • C AWS Elastic Beanstalk
  • D AWS Fargate
Explanation AWS Lambda is designed specifically for serverless computing, whereas EC2 and Elastic Beanstalk are for traditional deployments.
Q356

A company needs to manage its Docker containers in a consistent manner across multiple AWS accounts. What should they use?

  • A AWS Fargate
  • B Amazon ECS
  • C AWS CloudFormation
  • D Amazon EKS
Explanation Amazon EKS provides a managed Kubernetes service that is ideal for managing Docker containers across multiple accounts compared to ECS.
Q357

What happens when you disable MFA delete on an S3 bucket's versioning configuration?

  • A Delete requests are permanently blocked
  • B Versioning is turned off
  • C Objects cannot be restored
  • D Versioned objects can be deleted easily
Explanation Disabling MFA delete allows versioned objects to be deleted with fewer restrictions, increasing risk.
Q358

Which service is used for container orchestration?

  • A Amazon ECS
  • B AWS Lambda
  • C Amazon RDS
  • D AWS CloudFormation
Explanation Amazon ECS is specifically designed for container orchestration, while the others serve different purposes.
Q359

A company needs to grant temporary access to a third-party application for a limited duration. Which service should be used?

  • A IAM Roles
  • B AWS Trusted Advisor
  • C Amazon CloudWatch
  • D AWS Config
Explanation IAM Roles allow for temporary access based on permissions, while the others do not provide this functionality.
Q360

What happens when you terminate an EC2 instance that uses instance store volumes?

  • A Data is retained after termination
  • B Data is lost after termination
  • C Instance is saved as an AMI
  • D Volumes are converted to EBS
Explanation Instance store volumes are ephemeral, so data is lost upon termination; the other options do not apply to instance store.