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 291–300 of 483

Q291

You are configuring a Lambda function to trigger on S3 events. What happens if the function fails?

  • A Event retries indefinitely
  • B S3 ignores the event
  • C A failure notification is sent
  • D The event is dropped
Explanation AWS Lambda can send notifications through SNS if it fails.
Q292

Which service allows you to automate CI/CD pipelines?

  • A AWS CodePipeline
  • B AWS CloudFormation
  • C AWS Lambda
  • D Amazon S3
Explanation AWS CodePipeline automates the process of building and deploying applications, while the others serve different purposes.
Q293

A company needs to ensure secure access to its application for developers without providing permanent IAM credentials. What approach should they use?

  • A AWS Secret Manager
  • B AWS IAM roles
  • C AWS EC2 instance profiles
  • D AWS CloudTrail
Explanation AWS IAM roles allow temporary, secure access without permanent credentials, whereas the others do not provide the same functionality.
Q294

You are configuring a highly available application architecture across multiple AWS regions. What happens if one region experiences a failure?

  • A Traffic will be disrupted
  • B Backup region automatically takes over
  • C No effect if using Route 53
  • D Users are notified of downtime
Explanation If configured properly, a backup region can automatically handle traffic, while the other options are incorrect regarding availability.
Q295

Which service is used for managing secrets in AWS?

  • A AWS Secrets Manager
  • B AWS Key Management Service
  • C AWS CloudTrail
  • D AWS Config
Explanation AWS Secrets Manager is specifically designed for storing and managing sensitive information, unlike other services mentioned.
Q296

A company needs to run automated tests whenever code is pushed to their repository. Which AWS service should they use for CI/CD?

  • A AWS Lambda
  • B AWS CodeBuild
  • C AWS CloudFormation
  • D AWS CloudTrail
Explanation AWS CodeBuild is optimized for running build jobs, including automated tests.
Q297

What happens when an EC2 instance is terminated?

  • A Data on instance store is preserved
  • B Elastic IP is released
  • C Root volume is deleted by default
  • D AWS charges for data transfer
Explanation By default, the root volume is deleted upon termination unless configured otherwise.
Q298

Which AWS service can automate the deployment of applications?

  • A AWS CloudFormation
  • B AWS Lambda
  • C AWS CloudWatch
  • D AWS Elastic Beanstalk
Explanation AWS Elastic Beanstalk simplifies application deployment; CloudFormation is for infrastructure management, Lambda executes code, and CloudWatch monitors resources.
Q299

A company needs to securely share documents with external partners. Which AWS feature should they use?

  • A S3 Lifecycle Policies
  • B IAM Roles
  • C S3 Pre-signed URLs
  • D CloudFront Distributions
Explanation S3 Pre-signed URLs allow secure external document sharing; Lifecycle Policies manage data storage, IAM Roles control permissions, and CloudFront accelerates content delivery.
Q300

What happens when you increase the desired count of an Amazon ECS service?

  • A No changes occur immediately
  • B New tasks are launched
  • C Running tasks are terminated
  • D Service deployments are paused
Explanation Increasing the desired count launches new tasks to meet the specified count; no immediate changes occur, running tasks aren't terminated, and deployments don’t pause.