FREE DevOps Engineering on AWS Certification MCQ Questions and Answers
Which language is not supported while creating custom Ansible modules?
Ansible modules can be written in any language that the target system supports. The sole condition is that the module send its findings to STOUT as JSON for Ansible to ingest.
A table in an Amazon RDS MySQL DB instance must be dropped and repopulated at each deployment for an n-tier application. This procedure can take several minutes, and the web tier cannot be accessed until it is completed. The web layer is currently set up as an Amazon EC2 Auto Scaling group, with instances terminated and replaced at each deployment. An AWS CodeBuild task does a SQL query to populate the MySQL table.
What steps should be taken to make sure that the web tier does not go online before the database is fully configured?
Amazon EC2 Auto Scaling lets you add lifecycle hooks to your Auto Scaling groups. These hooks enable you to design solutions that are aware of Auto Scaling instance lifecycle events and then conduct a custom action on instances when the correct lifecycle event happens. A lifecycle hook allows the instance to wait for a given period of time (one hour by default) for the action to finish before moving on to the next stage.
What is the anticipated behavior when Ansible is called with 'ansible-playbook -i localhost playbook.yml'?
Please select 2 correct answers
With the '-i' option, Ansible demands an inventory filename, regardless of whether it is a legitimate hostname. A comma must be inserted to the end of this for it to run on the host 'localhost' resolves to.
Amazon CloudTrail logs ____ activities described by the CloudTrail _____ APIs by default.
CloudTrail automatically logs bucket-level actions. Amazon S3 records are written to a log file with other AWS service data. CloudTrail's RESTful API defines the Amazon S3 bucket-level operations that can be logged.
Which of the following statements concerning establishing proxy support for Amazon Inspector agent on a Windows-based system is correct?
The WinHTTP proxy is used to offer proxy support for AWS agents.
When considering AWS Elastic Beanstalk, the \\'Swap Environment URLs\\' option most directly assists in what?
Simply upload the updated version of your application and let your deployment provider (AWS Elastic Beanstalk, AWS CloudFormation, or AWS OpsWorks) to deploy a new version (green). To upgrade to the latest version, just change the ELB URLs in your DNS records. Elastic Beanstalk has a Swap Environment URLs tool to help with the cutover process.
You need your DynamoDB-backed API to remain operational amid a catastrophic regional AWS failure. During a significant failure event, you can accept a few minutes of lag or slowness, but the system should resume regular functioning after those few minutes.
What is an effective strategy?
There is no such thing as a cross-region ELB, or a cross-region Auto Scaling Group, or a DynamoDB Multi-Region Table. The only viable solution is the cross-regional replication version with two ELBs and ASGs, as well as Route53 Failover and Latency DNS.