Amazon Web Services Related Exams
DOP-C02 Exam
A DevOps engineer needs to implement a solution to install antivirus software on all the Amazon EC2 instances in an AWS account. The EC2 instances run the most recent version of Amazon Linux .
The solution must detect all instances and must use an AWS Systems Manager document to install the software if the software is not present.
Which solution will meet these requirements?
A security team is concerned that a developer can unintentionally attach an Elastic IP address to an Amazon EC2 instance in production. No developer should be allowed to attach an Elastic IP address to an instance. The security team must be notified if any production server has an Elastic IP address at any time
How can this task be automated ' ?
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?