ExamQuestions.com

Register
Login
AWS Certified DevOps Engineer Professional Exam Questions

Amazon

AWS Certified DevOps Engineer Professional

437 / 500

Question 437:

<strong>A developer is quite new to CloudFormation and he is trying to use CloudFormation for his new assignment which is a web service in the Sydney region only. </strong>

Answer options:

A.In order to use AMI Id, the template needs to have a “mapping” which is inside the “Resources” section so that the template understand which AMI ID to be used during stack creation. The intrinsic function “FindInMap” is needed in the template to work with “mapping”.
B.Use a parameter for the user to input the AMI ID when the stack is created. Make sure that the parameter has the type as AWS::EC2::Image::Id.
C.In the template, add a parameter section for the AMI ID. The type of the parameter should be a String. Make sure that proper limitations are added such as the maximum length, minimum length, etc.
D.In the template, add a mapping section for all possible AMI IDs in all regions so that the CloudFormation does not need to remember any AMI IDs manually. Then in the Resource section, use FN::FindInAMI to refer the correct AMI ID.