1. You are setting up cloud formation templates for your organization. The cloud formation template consists of creating EC2 Instances for both your development and production environments in the same region. Each of these instances will have an Elastic P and a security group attached to them which will be done via Cloud formation. Your cloud formation stack for the development environment gets successfully created, but then the production cloud formation stack fails. Which of the below could be a reason for this?
A) You hit the soft limit of S EIP5 per region when creating the development environment. B) You didnt choose the Production version of the AMI you are using when creating the production stack. C) You have chosen the wrong tags when creating the instances in both environments. D) You hit the soft limit for security groups when creating the development environment.
2. You have a web application running on six Amazon EC2 instances, consuming about 45% of resources on each instance. You are using auto-scaling to make sure that six instances are running at all times. The number of requests this application processes is consistent and does not experience spikes. The application is critical to your business and you want high availability at all times. You want the load to be distributed evenly between all instances. You also want to use the same Amazon Machine Image (AMI) for all instances. Which of the following architectural choices should you make?
A) Deploy 6 EC2 instances in one availability zone and use Amazon Elastic Load Balancer. B) Deploy 3 EC2 instances in one availability zone and 3 in another availability zone and use Amazon Elastic Load Balancer. C) Deploy 3 EC2 Instances in one region and 3 In another region and use Amazon Elastic Load Balancer. D) Deploy 2 EC2 Instances in three regions and use Amazon Elastic Load Balancer.
3. You are a Dev ops Engineer for your company. You are responsible for creating Cloud formation templates for your company. There Is a requirement to ensure that an S3 bucket is created for all resources In development for logging purposes. How would you achieve this?
A) Create a parameter in the Cloud formation template and then use the Condition clause in the template to create an S3 bucket if the parameter has a value of development B) Use the metadata section in the Cloud formation template to decide on whether to create the S3 bucket or not. C) Create separate Cloud formation templates for Development and production. D) Create an S3 bucket from before and then just provide access based on the tag value mentioned in the Cloud formation template
4. Which of the following files needs to be included along with your source code binaries when deploying code using the AWS(Amazon Web Service) Code Deploy service
A) appspec.yml B) appconfig.yml C) app config .json D) apps pec .json
5. You have the requirement to get a snapshot of the current configuration of the resources in your AWS(Amazon Web Service) Account. Which of the following services can be used for this purpose Please select:
A) AWS Trusted Advisor B) AWS Code Deploy C) AWS Conflg D) AWS lAM
Leave a comment