DOP-C02 Exam Question 76

A company needs to increase the security of the container images that run in its production environment. The company wants to integrate operating system scanning and programming language package vulnerability scanning for the containers in its CI/CD pipeline. The CI/CD pipeline is an AWS CodePipeline pipeline that includes an AWS CodeBuild project, AWS CodeDeploy actions, and an Amazon Elastic Container Registry (Amazon ECR) repository.
A DevOps engineer needs to add an image scan to the CI/CD pipeline. The CI/CD pipeline must deploy only images without CRITICAL and HIGH findings into production.
Which combination of steps will meet these requirements? (Select TWO.)
  • DOP-C02 Exam Question 77

    A company uses AWS Key Management Service (AWS KMS) keys and manual key rotation to meet regulatory compliance requirements. The security team wants to be notified when any keys have not been rotated after 90 days.
    Which solution will accomplish this?
  • DOP-C02 Exam Question 78

    AnyCompany is using AWS Organizations to create and manage multiple AWS accounts AnyCompany recently acquired a smaller company, Example Corp. During the acquisition process, Example Corp ' s single AWS account joined AnyCompany ' s management account through an Organizations invitation.
    AnyCompany moved the new member account under an OU that is dedicated to Example Corp.
    AnyCompany ' s DevOps eng*neer has an IAM user that assumes a role that is named OrganizationAccountAccessRole to access member accounts. This role is configured with a full access policy When the DevOps engineer tries to use the AWS Management Console to assume the role in Example Corp ' s new member account, the DevOps engineer receives the following error message " Invalid information in one or more fields. Check your information or contact your administrator. " Which solution will give the DevOps engineer access to the new member account?
  • DOP-C02 Exam Question 79

    A company is implementing a CI/CD pipeline for an application by using AWS CodePipeline and AWS CodeBuild. The company needs a solution to run unit tests and automatically generate code coverage reports before any code is deployed to production. The CI/CD pipeline execution must fail if the code coverage is less than 80%.
    Which solution will meet these requirements?
  • DOP-C02 Exam Question 80

    A company deploys an application to Amazon EC2 instances. The application runs Amazon Linux 2 and uses AWS CodeDeploy. The application has the following file structure for its code repository:
    appspec.yml
    config/config.txt application/web
    The appspec yml file has the following contents in the files section
    files:
    - source: config/config.txt
    destination: /usr/local/src/config.txt
    - source: /
    destination: /var/www/html
    The appspec.yml file has the following contents in the files section:
    What will the result be for the deployment of the config.txt file?