1. You are trying to debug the creation of Cloud formation stack resources. Which of the following can be used to help in the debugging process? Choose 2 answers from the options below(Select 2answers)
A) Use the VS Cloud Formation console to view the status of your stack. B) See the logs in the /var/log directory for Linux instances C) Use Cloud trail to debug all the API call?s sent by the Cloud formation stack. D) Use AWS(Amazon Web Service) Conflg to debug all the API calrs sent by the Cloud formation stack.
2. Which of the following CLI commands can be used to describe the stack resources?
A) aws cloud formation describe-stack-resources B) aws cloud formation describe-stack C) aws cloud formatlon list-stackresources D) aws cloud formation liststack
3. You are a Dev ops engineer for your company. There is a requirement to host a custom application which has custom dependencies for a development team. This needs to be
A) Package the application and dependencies with Ducker, and deploy the Ducker container with Cloud Formation. B) Package the application and dependencies with in Elastic Beanstalk, and deploy with Elastic Beanstalk. C) Package the application and dependencies in an S3 file, and deploy the Ducker container with Elastic Beanstalk. D) Package the application and dependencies with Ducker, and deploy the Ducker container with Elastic Beanstalk.
4. You are creating a Cloud formation template in which User data is going to be passed to underlying EC2 Instance. Which of the below functions is normally used to pass data to the User Data section in the Cloud formation template?
A) User Data: ( 'Fn::Find ln Map': B) User Data: { 'Fn::Ref': { C) User Data: { Fn::Get Atr: { D) User Data: { Fn::Base64: (
5. Your application has an Auto Scaling group of three EC2 instances behind an Elastic Load Balancer. Your Auto Scaling group was updated with a new launch configuration that refers to an updated AMI. During the deployment, customers complained that they were receiving several errors even though all instances passed the ELB health checks. How can you prevent this from happening again?
A) Create a new launch configuration with the updated AMI and associate it with the Auto Scaling group. Increase the size of the group to six and when instances become healthy revert to three. B) Manually terminate the instances with the older launch configuration, C) Update the launch configuration instead of updating the Auto scaling Group D) Create a new ELB and attach the Auto scaling Group to the ELB
Leave a comment