DOP-C02 Exam Question 106

A company operates a fleet of Amazon EC2 instances that host critical applications and handle sensitive data.
The EC2 instances must have up-to-date security patches to protect against vulnerabilities and ensure compliance with industry standards and regulations. The company needs an automated solution to monitor and enforce security patch compliance across the EC2 fleet.
Which solution will meet these requirements?
  • DOP-C02 Exam Question 107

    A company uses AWS Control Tower to deploy multiple AWS accounts. A security team must automate Control Tower guardrails applied to all accounts in an OU, with version control and rollback capabilities.
    Which solution meets these requirements?
  • DOP-C02 Exam Question 108

    A DevOps engineer is building a solution that uses Amazon Simple Queue Service (Amazon SQS) standard queues. The solution also includes an AWS Lambda function and an Amazon DynamoDB table. The Lambda function pulls content from the SQS queue and writes the content to the DynamoDB table.
    The solution must maximize the scalability of the Lambda function and must prevent successfully processed SQS messages from being processed multiple times.
    Which solution will meet these requirements?
  • DOP-C02 Exam Question 109

    A company is migrating an application to Amazon Elastic Container Service (Amazon ECS). The company wants to consolidate log data in Amazon CloudWatch in the us-west-2 Region. No CloudWatch log groups currently exist for Amazon ECS.
    The company receives the following error code when an ECS task attempts to launch:
    "service my-service-name was unable to place a task because no container instance met all of its requirements." The ECS task definition includes the following container log configuration:
    " logConfiguration " : {
    " logDriver " : " awslogs " ,
    " options " : {
    " awslogs-create-group " : " true " ,
    " awslogs-group " : " awslogs-mytask " ,
    " awslogs-region " : " us-west-2 " ,
    " awslogs-stream-prefix " : " awslogs-mytask " ,
    " mode " : " non-blocking " ,
    " max-buffer-size " : " 25m "
    }
    }
    The ECS cluster uses an Amazon EC2 Auto Scaling group to provide capacity for tasks. EC2 instances launch an Amazon ECS-optimized AMI.
    Which solution will fix the problem?
  • DOP-C02 Exam Question 110

    A DevOps engineer notices that all Amazon EC2 instances running behind an Application Load Balancer in an Auto Scaling group are failing to respond to user requests. The EC2 instances are also failing target group HTTP health checks Upon inspection, the engineer notices the application process was not running in any EC2 instances. There are a significant number of out of memory messages in the system logs. The engineer needs to improve the resilience of the application to cope with a potential application memory leak. Monitoring and notifications should be enabled to alert when there is an issue Which combination of actions will meet these requirements? (Select TWO.)