1. You are responsible for your company?s large multi-tiered Windows-based web application running on Amazon EC2 instances situated behind a load balancer. While reviewing metrics, you?ve started noticing an upwards trend for slow customer page load time. Your manager has asked you to come up with a solution to ensure that customer load time is not affected by too many requests per second. Which technique would you use to solve this issue?
A) Re-deploy your infrastructure using AWS(Amazon Web Service) Cloud Formation, Elastic Beanstalk, and Auto Scaling. Set up your Auto Scaling group policies to scale based on the number of requests per second as well as the current customer load time.
B) Re-deploy your application using an Auto Scaling template. Configure the Auto Scaling template to spin up a new Elastic Beanstalk application when the customer load time surpasses your threshold.
C) Re-deploy your infrastructure using an AWS(Amazon Web Service) Cloud Formation template. Configure Elastic Load Balancing health checks to initiate a new AWS(Amazon Web Service) Cloud Formation stack when health checks return failed.
D) Re-deploy your Infrastructure using an AWS(Amazon Web Service) Cloud Formation template. Spin up a second AWS(Amazon Web Service) Cloud Formation stack. Configure Elastic Load Balancing Spillover functionality to spill over any slow connections to the second AWS(Amazon Web Service) Cloud Formation stack.
2. The project you are working on currently uses a single AWS(Amazon Web Service) Cloud Formation template to deploy its AWS(Amazon Web Service) infrastructure, which supports a multi-tier web application. You have been tasked with organizing the AWS(Amazon Web Service) Cloud Formation resources so that they can be maintained in the future, and so that different departments such as Networking and Security can review the architecture before it goes to Production. How should you do this in a way that accommodates each department, using their existing workflows?
A) Separate the AWS(Amazon Web Service) Cloud Formation template into a nested structure that has individual templates for the resources that are to be governed by different departments, and use the outputs from the networking and security stacks for the application template that you control.
B) Organize the AWS(Amazon Web Service) Cloud Formation template so that related resources are next to each other in the template, such as VPC subnets and routing rules for Networking and security groups and lAM information for Security.
C) Organize the AWS(Amazon Web Service) Cloud Formation template so that related resources are next to each other In the template for each departments use, leverage your existing continuous integration tool to constantly deploy changes from all parties to the Production environment, and then run tests for validation.
D) Use a custom application and the AWS(Amazon Web Service) SDK to replicate the resources defined in the current AWS(Amazon Web Service) Cloud Formation template. and use the existing code review system to allow other departments to approve changes before altering the application for future deployments.
3. You work for a startup that has developed a new photo-sharing application for mobile devices. Over recent months your application has increased in popularity; this has resulted In a decrease in the performance of the application clue to the Increased load. Your application has a two-tier architecture that Is composed of Auto Scaling PHP application tier and a My SQL RDS instance initially deployed with AWS(Amazon Web Service) Cloud Formation. Your Auto Scaling group has a mm value of 4 and a max value of 8. The desired capacity is now at because of the high CPU utilization of the instances. After some analysis, you are confident that the performance Issues stem from a constraint In CPU capacity, although memory utilization remains low. You therefore decide to move from the general-purpose M3 instances to the compute-optimized C3 instances. How would you deploy this change while minimizing any interruption to your end users?
A) Sign into the AWS(Amazon Web Service) Management Console, and update the existing launch configuration with the new C3 instance type. Add an Update Policy attribute to your Auto Scaling group that specifies Auto Scaling Rolling Update.
B) Update the launch configuration specified In the AWS(Amazon Web Service) Cloud Formation template with the new C3 Instance type. Also add an Update Policy attribute to your Auto Scaling group that specifies Auto Scaling Rolling update.
C) Sign into the AWS(Amazon Web Service) Management Console, copy the old launch configuration. and create a new launch configuration that specifies the C3 instances. Update the Auto Scaling group with the new launch configuration. Auto Scaling will then update the instance type of all running instances.
D) Update the launch configuration specified in the AWS(Amazon Web Service) Cloud Formation template with the new C3 Instance / type. Run a stack update with the new template. Auto Scaling will then update the instances with the new instance type.
4. During metric analysis, your team has determined that the company?s website is experiencing response times during peak hours that are higher than anticipated. You currently rely on Auto Scaling to make sure that you are scaling your environment during peak windows. How can you improve your Auto Scaling policy to reduce this high response time? Choose 2 answers.(Select 2answers)
A) Push custom metrics to Cloud Watch for your application that include more detailed information about your web application, such as how many requests it is handling and how many are waiting to be processed.
B) Create a script that wns and monitors your servers: when it detects an anomaly in load, it posts to an Amazon SNS topic that triggers Elastic Load Balancing to add more servers to the load balancer.
C) Increase your Auto Scaling group?s number of max servers.
D) Push custom metrics to Cloud Watch to monitor your Cpu and network bandwidth from your servers, which will allow your Auto Scaling policy to have better fine-grain insight.
5. You have enabled Elastic Load Balancing HTTP health checking. After looking at the AWS(Amazon Web Service) Management Console, you see that all Instances are passing health checks, but your customers are reporting that your site is not responding. What is the cause?
A) Latency in DNS resolution Is Interfering with Amazon EC2 metadata retrieval.
B) The application is returning a positive health check too quickly for the AWS(Amazon Web Service) Management Console to respond.
C) The health check in place is not sufficiently evaluating the application function.
D) The HTTP health checking system is misreporting due to latency in Inter-instance metadata synchronization.
Leave a comment