DOP-C02 Exam Question 77

The security team depends on AWS CloudTrail to detect sensitive security issues in the company's AWS account. The DevOps engineer needs a solution to auto-remediate CloudTrail being turned off in an AWS account.
What solution ensures the LEAST amount of downtime for the CloudTrail log deliveries?
  • DOP-C02 Exam Question 78

    An IT team has built an AWS CloudFormation template so others in the company can quickly and reliably deploy and terminate an application. The template creates an Amazon EC2 instance with a user data script to install the application and an Amazon S3 bucket that the application uses to serve static webpages while it is running.
    All resources should be removed when the CloudFormation stack is deleted. However, the team observes that CloudFormation reports an error during stack deletion, and the S3 bucket created by the stack is not deleted.
    How can the team resolve the error in the MOST efficient manner to ensure that all resources are deleted without errors?
  • DOP-C02 Exam Question 79

    A company is using an AWS CodeBuild project to build and package an application. The packages are copied to a shared Amazon S3 bucket before being deployed across multiple AWS accounts.
    The buildspec.yml file contains the following:

    The DevOps engineer has noticed that anybody with an AWS account is able to download the artifacts.
    What steps should the DevOps engineer take to stop this?
  • DOP-C02 Exam Question 80

    A company updated the AWS Cloud Formation template for a critical business application. The stack update process failed due to an error in the updated template and AWS CloudFormation automatically began the stack rollback process Later a DevOps engineer discovered that the application was still unavailable and that the stack was in the UPDATE_ROLLBACK_FAILED state.
    Which combination of actions should the DevOps engineer perform so that the stack rollback can complete successfully? (Select TWO.)
  • DOP-C02 Exam Question 81

    A company has multiple development groups working in a single shared AWS account. The Senior Manager of the groups wants to be alerted via a third-party API call when the creation of resources approaches the service limits for the account.
    Which solution will accomplish this with the LEAST amount of development effort?