1. You are a Dev Ops engineer for a company. You have been requested to create a rolling deployment solution that Is cost-effective with minimal downtime. How should you achieve this? Choose two answers from the options below(Select 2answers)
A) Re-deploy your application using a Cloud Formation template to deploy Elastic Beanstalk B) Re-deploy with a Cloud Formation template. define update policies on Auto Scaling groups in your Cloud Formation template C) After each stack Is deployed, tear down the old stack D) Use Update Policy attribute with Auto Scaling Rolling update policy on Cloud Formation to deploy new code
2. You are in charge of creating a Cloud formation template that will be used to spin our resources on demand for your Devops team. The requirement is that this cloud formation template should be able to spin up resources In different regions. Which of the following aspects of Cloud formation templates can help you design the template to spin up resources based on the region?
A) Use mappings section in the Cloud formation template . so that based on the relevant region, the relevant resource can be spinned up. B) Use the parameters section in the Cloud formation template. so that based on the relevant region, the relevant resource can be spinned up. C) Use the outputs section in the Cloud formation templates so that based on the relevant region , the relevar resource can be spinned up. D) Use the metadata section in the Cloud formation template. so that based on the relevant region, the relevant resource can be spinned up.
3. You have launched a cloud formation template, but are receiving a failure notification after the template was launched. What is the default behavior of Cloud formation in such a case Please select:
A) It will prompt the user on whether to keep or terminate the already created resources B) It will keep all the resources that were created up to the failure point. C) It will continue with the creation of the next resource in the stack D) It will rollback all the resources that were created up to the failure point.
4. An enterprise wants to use a third-party SaaS application running on AWS.. The SaaS application needs to have access to issue several API commands to discover Amazon EC2 resources running within the enterprise?s account. The enterprise has internal security policies that require any outside access to their environment must conform to the principles of least privilege and there must be controls in place to ensure that the credentials used by the SaaS vendor cannot be used by any other third party. Which of the following would meet all of these conditions?
A) Create an lAM role for cross-account access allows the SaaS providers account to assume the role and assign It a policy that allows only the actions required by the SaaS application. B) Create an lAM user within the enterprise account assign a user policy to the lAM user that allows only the actions required by the SaaS application. Create a new access and secret key for the user and provide these credentials to the SaaS provider. C) From the AWS(Amazon Web Service) Management Console, navigate to the Security Credentials page and retrieve the access an secret key for your account. D) Create an lAM role for EC2 instances, assign it a policy that allows only the actions required tor the Saas application to work, provide the role ARN to the SaaS provider to use when launching their application instances.
5. You are working as an AWS(Amazon Web Service) Devops admins for your company. You are in-charge of building the Infrastructure for the company's development teams using Cloud formation. The template will include building the VPC and networking components, installing a LAMP stack and securing the created resources. As per the AWS(Amazon Web Service) best practices what is the best way to design this template ?
A) Create multiple cloud formation templates based on the number of VPCs in the environment. B) Create multiple cloud formation templates for each set of logical resources, one for networking, tne otner for LAMP stack creation. C) Create multiple cloud formation templates based on the number of development groups In the environment. D) Create a single cloud formation template to create all the resources since it would be easier from the maintenance perspective.
Leave a comment