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 431–440 of 483

Q431

A company needs to automate backups for its RDS instances. Which solution should they implement?

  • A AWS Data Pipeline
  • B AWS Backup
  • C Amazon S3
  • D AWS Lambda
Explanation AWS Backup provides centralized backup management for RDS instances, unlike the other options which serve different purposes.
Q432

You are configuring an IAM role for a Lambda function. What is the least privilege principle?

  • A Grant all permissions to the role
  • B Grant only necessary permissions
  • C Assign permissions based on role
  • D Use a wildcard for all actions
Explanation The least privilege principle means granting only necessary permissions to minimize security risks, whereas other options violate this principle.
Q433

Which service allows blue-green deployments in AWS?

  • A AWS CodeDeploy
  • B AWS Lambda
  • C Amazon EC2
  • D Amazon RDS
Explanation AWS CodeDeploy specifically supports blue-green deployments, while the others relate to compute or database services.
Q434

A company needs to run fault-tolerant applications across multiple Availability Zones. Which architecture should they use?

  • A Single-AZ setup with backups
  • B Multi-AZ with Auto Scaling
  • C Single-Instance EC2
  • D S3 for static storage only
Explanation Multi-AZ with Auto Scaling ensures high availability and fault tolerance, unlike the other options which lack redundancy.
Q435

What happens when a CloudFormation stack is updated and resources are replaced?

  • A Old resources are immediately terminated
  • B Updates are automatically rolled back
  • C New resources are created alongside old
  • D No changes occur during update
Explanation CloudFormation creates new resources alongside the old ones if they are being replaced, ensuring minimal downtime.
Q436

Which service is used for automating code deployments?

  • A AWS CodePipeline
  • B Amazon EC2
  • C AWS IAM
  • D Amazon RDS
Explanation AWS CodePipeline automates continuous integration and deployment, while others do not.
Q437

A company needs to run a containerized application with minimal operational overhead. What should they use?

  • A Amazon EC2
  • B AWS Lambda
  • C Amazon ECS
  • D AWS Batch
Explanation Amazon ECS allows for easier management of containerized applications with low operational overhead compared to EC2 or Lambda.
Q438

You are configuring AWS CloudTrail for logging. What happens if you disable CloudTrail logging?

  • A Current logs will be deleted.
  • B Logging will stop but past logs remain.
  • C Enabled logs will be encrypted.
  • D Access to AWS is restricted.
Explanation Disabling CloudTrail stops new log generation, but existing logs remain accessible.
Q439

Which AWS service streamlines the deployment of containers?

  • A AWS Elastic Beanstalk
  • B AWS Lambda
  • C Amazon ECS
  • D Amazon S3
Explanation Amazon ECS is designed specifically for container orchestration, while the others serve different purposes.
Q440

You are configuring an EC2 instance in a public subnet. What happens if you do not assign an Elastic IP?

  • A Instance will time out on requests
  • B Instance will lose access to the Internet
  • C Instance will remain isolated
  • D Instance will have a private IP
Explanation An instance in a public subnet will get a private IP but require an Elastic IP or internet gateway for public access.