DOP-C02 Exam Question 136

A company wants to deploy a workload on several hundred Amazon EC2 instances. The company will provision the EC2 instances in an Auto Scaling group by using a launch template.
The workload will pull files from an Amazon S3 bucket, process the data, and put the results into a different S3 bucket. The EC2 instances must have least-privilege permissions and must use temporary security credentials.
Which combination of steps will meet these requirements? (Select TWO.)
  • DOP-C02 Exam Question 137

    A company is optimizing its AWS costs. Most of the company's AWS spend is for Amazon EC2. When the company analyzes its EC2 usage metrics in Amazon CloudWatch, the company observes that most of its EC2 instances are in an idle state.
    The company considers an instance idle if it has a maximum CPU utilization of less than 2% in the previous
    24 hours. The company evaluates metrics for instances based on 1-hour intervals. The company decides to configure a CloudWatch alarm for each EC2 instance in the account. The company wants the alarm to activate when an instance is idle.
    How should the company configure the CloudWatch alarm?
  • DOP-C02 Exam Question 138

    A highly regulated company has a policy that DevOps engineers should not log in to their Amazon EC2 instances except in emergencies. It a DevOps engineer does log in the security team must be notified within
    15 minutes of the occurrence.
    Which solution will meet these requirements'?
  • DOP-C02 Exam Question 139

    A company uses Amazon Elastic Container Service (Amazon ECS) with an Amazon EC2 launch type. The company requires all log data to be centralized on Amazon CloudWatch. The company's ECS tasks include a LogConfiguration object that specifies a value of awslogs for the log driver name.
    The company's ECS tasks failed to deploy. An error message indicates that a missing permission causes the failure. The company confirmed that the IAM role used to launch container instances includes the logs:
    CreateLogGroup, logs:CreateLogStream, and logs:PutLogEvents permissions.
    Which solution will fix the problem?
  • DOP-C02 Exam Question 140

    A DevOps engineer needs to back up sensitive Amazon S3 objects that are stored within an S3 bucket with a private bucket policy using S3 cross-Region replication functionality. The objects need to be copied to a target bucket in a different AWS Region and account.
    Which combination of actions should be performed to enable this replication? (Choose three.)