AWS Devops Engineer Professional Certified Practice Exam Set 2

You have a code repository that uses Amazon 53 as a data store. During a recent audit of your security controls, some concerns were raised about maintaining the integrity of the data in the Amazon S3 bucket. Another concern was raised around securely deploying code from Amazon S3 to applications running on Amazon EC2 in a virtual private cloud. What are some measures that you can implement to mitigate these concerns? Choose two answers from the options given below?


Options are :

  • Use AWS Data Pipeline to lifecycle the data in your Amazon 53 bucket to Amazon Glacier on a weekly basis.
  • Add an Amazon S3 bucket policy with a condition statement that requires multi-factor authentication in order to delete objects and enable bucket version ing. (Correct)
  • Use AWS Data Pipeline with multi-factor authentication to securely deploy code from the Amazon S3 bucket to your Amazon EC2 instances.
  • Use a configuration management service to deploy AWS Identity and Access Management user credentials to the Amazon EC2 instances. Use these credentials to securely access the Amazon S3 bucket when deploying code.
  • Create an Amazon Identity and Access Management role with authorization to access the Amazon 53 bucket, and launch all of your application?s Amazon EC2 instances with this role. (Correct)
  • Add an Amazon S3 bucket policy with a condition statement to allow access only from Amazon EC2 instances with RFC 1918 P addresses and enable bucket versioning.

Answer : Add an Amazon S3 bucket policy with a condition statement that requires multi-factor authentication in order to delete objects and enable bucket version ing. Create an Amazon Identity and Access Management role with authorization to access the Amazon 53 bucket, and launch all of your application?s Amazon EC2 instances with this role.

AWS DVA-C01 Certified Developer Associate Practice Exam Set 3

You have an application running on Amazon EC2 in an Auto Scaling group. Instances are being bootstrapped dynamically, and the bootstrapping takes over 15 minutes to complete. You find that instances are reported by Auto Scaling as being In Service before bootstrapping has completed. You are receiving application alarms related to new instances before they have completed bootstrapping, which is causing confusion. You find the cause: your application monitoring tool is polling the Auto Scaling Service API for instances that are In Service, and creating alarms for new previously unknown instances. Which of the following will ensure that new instances are not added to your application monitoring tool before bootstrapping is completed?


Options are :

  • Tag all instances on launch to identify that they are In a pending state. Change your application monitoring tool to look for this tag before adding new instances, and the use the Amazon API to set the instance state to „pending until bootstrapping is complete.
  • Increase the desired number of instances in your Auto Scaling group configuration to reduce the time it takes to bootstrap future instances.
  • Create an Auto Scaling group lifecycle hook to hold the instance In a pending: wait state until your bootstrapping is complete. Once bootstrapping is complete, notify Auto Scaling to complete the lifecycle hook and move the instance into a pending: proceed state. (Correct)
  • Use the default Amazon Cloud Watch application metrics to monitor your application?s health. Configure an Amazon SNS topic to send these Cloud Watch alarms to the correct recipients.

Answer : Create an Auto Scaling group lifecycle hook to hold the instance In a pending: wait state until your bootstrapping is complete. Once bootstrapping is complete, notify Auto Scaling to complete the lifecycle hook and move the instance into a pending: proceed state.

When an Auto Scaling group is running in Amazon Elastic Compute Cloud (EC2), your application rapidly scales up and down in response to load within a 1 0-minute window; however, after the load peaks, you begin to see problems in your configuration management system where previously terminated Amazon EC2 resources are still showing as active. What would be a reliable and efficient way to handle the cleanup of Amazon EC2 resources within your configuration management system? Choose two answers from the options given below


Options are :

  • Configure an Amazon Simple Queue Service (SQS) queue for Auto Scaling actions that has a script that listens for new messages and removes terminated instances from the configuration management system.
  • Write a small script that is run during Amazon EC2 instance shutdown to de-register the resource from the configuration management system. (Correct)
  • Use your existing configuration management system to control the launching and bootstrapping of instances to reduce the number of moving parts in the automation.
  • Write a script that is run by a daily cron job on an Amazon EC2 instance and that executes API Describe c of the EC2 Auto Scaling group and removes terminated instances from the configuration management system. (Correct)

Answer : Write a small script that is run during Amazon EC2 instance shutdown to de-register the resource from the configuration management system. Write a script that is run by a daily cron job on an Amazon EC2 instance and that executes API Describe c of the EC2 Auto Scaling group and removes terminated instances from the configuration management system.

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


Options are :

  • Re-deploy with a Cloud Formation template. define update policies on Auto Scaling groups in your Cloud Formation template (Correct)
  • Use Update Policy attribute to specify how Cloud Formation handles updates to Auto Scaling Group resource (Correct)
  • After each stack is deployed, tear down the old stack
  • Re-deploy your application using a Cloud Formation template to deploy Elastic Beanstalk

Answer : Re-deploy with a Cloud Formation template. define update policies on Auto Scaling groups in your Cloud Formation template Use Update Policy attribute to specify how Cloud Formation handles updates to Auto Scaling Group resource

Certification : Get AWS Certified Solutions Architect in 1 Day (2018 Update) Set 7

You have a complex system that involves networking, lAM policies, and multiple, threetier applications. You are still receiving requirements for the new system, so you don?t yet know how many AWS components will be present in the final design. You want to start using AWS Cloud Formation to define these AWS resources so that you can automate and version-control your infrastructure. How would you use AWS Cloud Formation to provide agile new environments for your customers in a cost-effective, reliable manner?


Options are :

  • Create multiple separate templates for each logical part of the system. and provide the outputs from one to the next using an Amazon Elastic Compute Cloud (EC2) Instance running the SDK for finer granularity of control.
  • Manually create one template to encompass all the resources that you need for the system, only have a single template to version-control.
  • Manually construct the networking layer using Amazon Virtual Private Cloud (VPC) because this does not change often, and then use AWS Cloud Formation to define all other ephemeral resources.
  • Create multiple separate templates for each logical part of the system, create nested stacks in AWS Cloud Formation. and maintain several templates to version-control. (Correct)

Answer : Create multiple separate templates for each logical part of the system, create nested stacks in AWS Cloud Formation. and maintain several templates to version-control.

You have an ELB setup in AWS with EC2 instances running behind them. You have been requested to monitor the incoming connections to the ELB. Which of the below options can suffice this requirement?


Options are :

  • Enable access logs on the load balancer
  • Use AWS Cloud Trail with your load balancer
  • Create a custom metric Cloud Watch filter on your load balancer (Correct)
  • Use a Cloud Watch Logs Agent

Answer : Create a custom metric Cloud Watch filter on your load balancer

You are doing a load testing exercise on your application hosted on AWS. While testing your Amazon RDS My SQL DB Instance, you notice that when you hit 100% CPU utilization on it. your application becomes non- responsive. Your application Is read-heavy. What are methods to scale your data tier to meet the application?s needs? Choose three answers from the options given below Please select:


Options are :

  • Use an Amazon SQS queue to throttle data going to the Amazon RDS DB instance.
  • Add Amazon RDS DB read replicas, and have your application direct read queries to them. (Correct)
  • Enable Multi-AZ for your Amazon RDS DB instance.
  • Use Elastic Cache In front of your Amazon RDS DB to cache common queries. (Correct)
  • Shard your data set among multiple Amazon RDS DB instances. (Correct)
  • Add your Amazon RDS DB instance to an Auto Scaling group and configure your Cloud Watch metric based on CPU utilization.

Answer : Add Amazon RDS DB read replicas, and have your application direct read queries to them. Use Elastic Cache In front of your Amazon RDS DB to cache common queries. Shard your data set among multiple Amazon RDS DB instances.

AWS SOA-C00 Certified Sys Ops Administrator Associate Exam Set 6

Your company develops a variety of web applications using many platforms and programming languages with different application dependencies. Each application must be developed and deployed quickly and be highly available to satisfy your business requirements. Which of the following methods should you use to deploy these applications rapidly?


Options are :

  • Use the AWS Cloud Formation Ducker import service to build and deploy the applications with high availability in multiple Availability Zones.
  • Store each application?s code in a Git repository, develop custom package repository managers for each application?s dependencies. and deploy to AWS Ops Works in multiple Availability Zones.
  • Develop the applications In Ducker containers, and then deploy them to Elastic Beanstalk environments with Auto Scaling and Elastic Load Balancing. (Correct)
  • Develop each application?s code In Dynamo DB. and then use hooks to deploy it to Elastic Beanstalk environments with Auto Scaling and Elastic Load Balancing.

Answer : Develop the applications In Ducker containers, and then deploy them to Elastic Beanstalk environments with Auto Scaling and Elastic Load Balancing.

You have a web application that?s developed in Node.js The code is hosted in Git repository. You want to now deploy this application to AWS. Which of the below 2 options can fulfill this requirement. Please select:


Options are :

  • Create an AWS Cloud Formation template which creates an instance with the AWS::EC2::Container resources type. With User Data, install Git to download the Node.js application and then set it up.
  • Create a Ducker file to install Node.js. and gets the code from Git. Use the Ducker file to perform the deployment on a new AWS Elastic Beanstalk application. (Correct)
  • Create an Elastic Beanstalk application. Create a Docker file to install Node.js. Get the code from Git. Use the command “aws git. push to deploy the application
  • Create an AWS Cloud Formation template which creates an instance with the AWS::EC2::Instance resource type and an AMI with Ducker pre-installed. With User Data. install Git to download the Node.js application and then set it up. (Correct)

Answer : Create a Ducker file to install Node.js. and gets the code from Git. Use the Ducker file to perform the deployment on a new AWS Elastic Beanstalk application. Create an AWS Cloud Formation template which creates an instance with the AWS::EC2::Instance resource type and an AMI with Ducker pre-installed. With User Data. install Git to download the Node.js application and then set it up.

You have an application consisting of a stateless web server tier running on Amazon EC2 instances behind load balancer, and are using Amazon RDS with read replicas. Which of the following methods should you use to implement a self-healing and cost-effective architecture? Choose 2 answers from the options given below


Options are :

  • Use a larger Amazon EC2 instance type for the web server tier and a larger DB instance type for the data storage layer to ensure that they do not become unhealthy.
  • Use an Amazon RDS Multi-AZ deployment. (Correct)
  • Set up an Auto Scaling group for the web server tier along with an Auto Scaling policy that uses the Amazon”- — RDS DB CPU utilization Cloud Watch metric to scale the instances.
  • Set up a third-party monitoring solution on a cluster of Amazon EC2 instances in order to emit custom Cloud Watch metrics to trigger the termination of unhealthy Amazon EC2 instances.
  • Set up an Auto Scaling group for the web server tier along with an Auto Scaling policy that uses the Amazon EC2 CPU utilization Cloud Watch metric to scale the instances. (Correct)
  • Set up scripts on each Amazon EC2 instance to frequently send ICMP pings to the load balancer in order to/? determine which instance is unhealthy and replace it.

Answer : Use an Amazon RDS Multi-AZ deployment. Set up an Auto Scaling group for the web server tier along with an Auto Scaling policy that uses the Amazon EC2 CPU utilization Cloud Watch metric to scale the instances.

Certification : Get AWS Certified Solutions Architect in 1 Day (2018 Update) Set 19

You are administering a continuous integration application that polls version control for changes and then launches new Amazon EC2 instances for a full suite of build tests. What should you do to ensure the lowest overall cost while being able to run as many tests in parallel as possible?


Options are :

  • Perform syntax checking on the continuous integration system before launching a new AWS Data Pipeline for coordinating the output of unit, integration, and build tests.
  • Perform syntax and build tests on the continuous integration system before launching the new Amazon E instance unit and integration tests. (Correct)
  • Perform syntax checking on the continuous integration system before launching a new Amazon EC2 instance for build test.. unit and Integration tests.
  • Perform all tests on the continuous integration system. using AWS Ops Works for unit. integration, and build tests.

Answer : Perform syntax and build tests on the continuous integration system before launching the new Amazon E instance unit and integration tests.

You are using Elastic Beanstalk to manage your application. You have a SQL script that needs to only be executed once per deployment no matter how many EC2 instances you have running. How can you do this?


Options are :

  • Use Elastic Beanstalk version and a configuration file to execute the script, ensuring that the “leader only” flag is set to true.
  • Use a “Container command” within an Elastic Beanstalk configuration file to execute the script, ensuring th the “leader only” flag is set to true. „ (Correct)
  • Use a “leader command” within an Elastic Beanstalk configuration file to execute the script, ensuring that the “container only” flag is set to true.
  • Use a “Container command? within an Elastic Beanstalk configuration file to execute the script, ensuring that the “leader only” flag is set to false.

Answer : Use a “Container command” within an Elastic Beanstalk configuration file to execute the script, ensuring th the “leader only” flag is set to true. „

You have a multi-docker environment that you want to deploy to AWS. Which of the following configuration files can be used to deploy a set of Docker containers as an Elastic Beanstalk application? Please select:


Options are :

  • Ducker run.json
  • Ducker run .aws. json (Correct)
  • .extensions
  • Ducker file

Answer : Ducker run .aws. json

AWS Solutions Architect Associate 2019 with Practice Test Set 7

One of the instances in your Auto Scaling group health check returns the status of Impaired to Auto Scaling. What will Auto Scaling do in this case?


Options are :

  • Send an SNS notification
  • Perform a health check until cool down before declaring that the instance has failed
  • Terminate the instance and launch a new instance (Correct)
  • Wait for the instance to become healthy before sending traffic

Answer : Terminate the instance and launch a new instance

You have just recently deployed an application on EC2 instances behind an ELB. After a couple of weeks, customers are complaining on receiving errors from the application. You want to diagnose the errors and are trying to get errors from the ELB access logs. But the ELB access logs are empty. What Is the reason for this. Please select:


Options are :

  • You do not have the appropriate permissions to access the logs
  • ELB Access logs are only available for a maximum of one week.
  • Access logging is an optional feature of Elastic Load Balancing that is disabled by default Your answer is incorrect. (Correct)
  • You do not have your Cloud Watch metrics correctly configured

Answer : Access logging is an optional feature of Elastic Load Balancing that is disabled by default Your answer is incorrect.

You are using a configuration management system to manage your Amazon EC2 instances. On your Amazon EC2 Instances, you want to store credentials for connecting to an Amazon RDS DB instance. How should you securely store these credentials?


Options are :

  • Assign an lAM role to your Amazon EC2 instance, and use this lAM role to access the Amazon RDS DB from your Amazon EC2 instances. (Correct)
  • Launch an Amazon EC2 instance and use the configuration management system to bootstrap the instanc with the Amazon RDS DB credentials. Create an AMP from this instance.
  • Store the Amazon RDS DB credentials in Amazon EC2 user data. Import the credentials Into the Instance on boot.
  • Give the Amazon EC2 instances an PAM role that allows read access to a private Amazon S3 bucket. Store a file with database credentials In the Amazon 53 bucket. Have your configuration management system pull the file from the bucket when it is needed.

Answer : Assign an lAM role to your Amazon EC2 instance, and use this lAM role to access the Amazon RDS DB from your Amazon EC2 instances.

AWS Develops Engineer Professional Practice Final File Exam Set 12

You have the following application to be setup in AWS 1) A web tier hosted on EC2 Instances 2) Session data to be written to Dynamo DB 3) Log files to be written to Microsoft SQL Server How can you allow an application to write data to a Dynamo DB table?


Options are :

  • Create an lAM role that allows read access to the Dynamo DB table.
  • Create an lAM role that allows write access to the Dynamo DB table. (Correct)
  • Add an lAM user to a running EC2 instance.
  • Add an AM user that allows write access to the Dynamo DB table.

Answer : Create an lAM role that allows write access to the Dynamo DB table.

Your mobile application includes a photo-sharing service that is expecting tens of thousands of users at launch. You will leverage Amazon Simple Storage Service (S3) for storage of the user Images, and you must decide how to authenticate and authorize your users for access to these images. You also need to manage the storage of these images. Which two of the following approaches should you use? Choose two answers from the options below


Options are :

  • Use AWS Identity and ACCeSS Management (lAM) user accounts as your applicationlevel user database, and offload the burden of authentication from your application code.
  • Authenticate your users at the application level, and use AWS Security Token Service (5Th) to grant token- based authorization to S3 objects. „
  • Use a key-based naming scheme comprised from the user IDs for all user objects in a single Amazon S3 bucket. (Correct)
  • Authenticate your users at the application level, and send an SMS token message to the user. Create an Amazon S3 bucket with the same name as the SMS message token, and move the users objects to that bucket.
  • Create an Amazon S3 bucket per user, and use your application to generate the S3 URI for the appropriate content.

Answer : Use a key-based naming scheme comprised from the user IDs for all user objects in a single Amazon S3 bucket.

You currently have an Auto Scaling group with an Elastic Load Balancer and need to phase out all instances and replace with a new instance type. What are 2 ways in which this can be achieved. Please select:


Options are :

  • Attach an additional Auto Scaling configuration behind the ELB and phase in newer instances while removing older instances. .. (Correct)
  • Use News instance to phase out all instances that use the previous configuration. (Correct)
  • Attach an additional ELB to your Auto Scaling configuration and phase in newer instances while removing older Instances
  • Use Oldest Launch Configuration to phase out all instances that use the previous configuration.

Answer : Attach an additional Auto Scaling configuration behind the ELB and phase in newer instances while removing older instances. .. Use News instance to phase out all instances that use the previous configuration.

AWS Solutions Architect Associate 2019 with Practice Test Set 1

You have an Auto Scaling group of Instances that processes messages from an Amazon Simple Queue Service (SQS) queue. The group scales on the size of the queue. Processing Involves calling a third..party web service. The web service Is complaining about the number of failed and repeated calls it is receiving from you. You have noticed that when the group scales in, instances are being terminated while they are processing. What cost-effective solution can you use to reduce the number of incomplete process attempts?


Options are :

  • Modify the application running on the instances to enable termination protection while it processes a task and disable it when the processing is complete.
  • Increase the minimum and maximum size for the Auto Scaling group. and change the scaling policies so they scale less dynamically.
  • Create a new Auto Scaling group with minimum and maximum of 2 and instances running web proxy software. Configure the VPC route table to route HTTP traffic to these web proxies.
  • Modify the application running on the instances to put itself Into an Auto Scaling Standby state while it processes a task and return itself to InService when the processing is complete. (Correct)

Answer : Modify the application running on the instances to put itself Into an Auto Scaling Standby state while it processes a task and return itself to InService when the processing is complete.

You are using Elastic Beanstalk to manage your e-commerce store. The store is based on an open source ec commerce platform and is deployed across multiple instances In an Auto Scaling group. Your development team often creates new „extensions” for the e-commerce store. These extensions include PHP source code as well as an SQL upgrade script used to make any necessary updates to the database schema. You have noticed that some extension deployments fail due to an error when running the SQL upgrade script. After further investigation, you realize that this is because the SQL script is being executed on all of your Amazon EC2 Instances. How would you ensure that the SQL script Is only executed once per deployment regardless of how many Amazon EC2 instances are running at the time?


Options are :

  • Update the Amazon RDS security group to only allow write access from a single instance in the Auto Scaling group: that way. only one instance will successfully execute the script on the database.
  • Use a SoIo Command within an Elastic Beanstalk configuration file to execute the script. The Elastic Beanstalk service will ensure that the command is only executed once.
  • Use a container command” within an Elastic Beanstalk configuration file to execute the script., ensuring that the „leader on flag Is set to true. (Correct)
  • Make use of the Amazon EC2 metadata service to query whether the instance is marked as the leader” in the Auto Scaling group. Only execute the script if “true” is returned.

Answer : Use a container command” within an Elastic Beanstalk configuration file to execute the script., ensuring that the „leader on flag Is set to true.

You have an application which consists of EC2 instances in an Auto Scaling group. Between a particular time frame every day, there is an increase In traffic to your website. Hence users are complaining of a poor response time on the application. You have configured your Auto Scaling group to deploy one new EC2 instance when Cpu utilization is greater than 60% for 2 consecutive periods of 5 minutes. What is the least cost-effective way to resolve this problem?


Options are :

  • Decrease the consecutive number of collection periods
  • Decrease the threshold cu utilization percentage at which to deploy a new Instance
  • Decrease the collection period to ten minutes
  • Increase the minimum number of instances in the Auto Scaling group (Correct)

Answer : Increase the minimum number of instances in the Auto Scaling group

AWS Certification

You have a current Cloud formation template defines in AWS. You need to change the current alarm threshold defined in the Cloud watch alarm. How can you achieve this?


Options are :

  • Currently there is no option to change what is already defined in Cloud formation templates
  • Delete the current cloud formation template. Create a new one which will update the current resources.
  • Update the template and then update the stack with the new template. Automatically all resources will be changed In the stack.
  • Update the template and then update the stack with the new template. Only those resources that need to be changed will be changed. All other resources which do not need to be changed will remain as they are. (Correct)

Answer : Update the template and then update the stack with the new template. Only those resources that need to be changed will be changed. All other resources which do not need to be changed will remain as they are.

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?


Options are :

  • Re-deploy your infrastructure using AWS 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. (Correct)
  • 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.
  • Re-deploy your infrastructure using an AWS Cloud Formation template. Configure Elastic Load Balancing health checks to initiate a new AWS Cloud Formation stack when health checks return failed.
  • Re-deploy your Infrastructure using an AWS Cloud Formation template. Spin up a second AWS Cloud Formation stack. Configure Elastic Load Balancing Spillover functionality to spill over any slow connections to the second AWS Cloud Formation stack.

Answer : Re-deploy your infrastructure using AWS 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.

The project you are working on currently uses a single AWS Cloud Formation template to deploy its AWS infrastructure, which supports a multi-tier web application. You have been tasked with organizing the AWS 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?


Options are :

  • Separate the AWS 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. (Correct)
  • Organize the AWS 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.
  • Organize the AWS 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.
  • Use a custom application and the AWS SDK to replicate the resources defined in the current AWS Cloud Formation template. and use the existing code review system to allow other departments to approve changes before altering the application for future deployments.

Answer : Separate the AWS 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.

AWS Solutions Architect Associate 2019 with Practice Test Set 7

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 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?


Options are :

  • Sign into the AWS 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.
  • Update the launch configuration specified In the AWS 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. (Correct)
  • Sign into the AWS 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.
  • Update the launch configuration specified in the AWS 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.

Answer : Update the launch configuration specified In the AWS 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.

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.


Options are :

  • 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. (Correct)
  • 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.
  • Increase your Auto Scaling group?s number of max servers. (Correct)
  • 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.

Answer : 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. Increase your Auto Scaling group?s number of max servers.

You have enabled Elastic Load Balancing HTTP health checking. After looking at the AWS 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?


Options are :

  • Latency in DNS resolution Is Interfering with Amazon EC2 metadata retrieval.
  • The application is returning a positive health check too quickly for the AWS Management Console to respond.
  • The health check in place is not sufficiently evaluating the application function.
  • The HTTP health checking system is misreporting due to latency in Inter-instance metadata synchronization. (Correct)

Answer : The HTTP health checking system is misreporting due to latency in Inter-instance metadata synchronization.

AWS Certification

You have decided that you need to change the instance type of your production instances which are running as part of an Auto Scaling group. The entire architecture is deployed using CloudFormation Template. You currently have 4 instances in Production. You cannot have any interruption in service and need to ensure 2 instances are always running during the update? Which of the options below listed can be used for this?


Options are :

  • Auto Scaling Replacing update
  • Auto Scaling integration Update
  • Auto Scaling Rolling Update (Correct)
  • Auto Scaling scheduled Action

Answer : Auto Scaling Rolling Update

Your application uses Cloud Formation to orchestrate your application?s resources. During your testing phase before the application went live, your Amazon RDS instance type was changed and caused the instance to be re-created, resulting In the loss of test data. How should you prevent this from occurring in the future?


Options are :

  • Within the AWS Cloud Formation parameter with which users can select the Amazon RDS instance type. set Allowed Values to only contain the current Instance type.
  • Subscribe to the AWS Cloud Formation notification BeforeResourceUpdate7 and call Cancel Stack Update if the resource identified is the Amazon RDS instance.
  • Use an AWS Cloud Formation stack policy to deny updates to the instance. Only allow Update Stack permission to lAM principals that are denied Set Stack Policy.
  • In the AWS Cloud Formation template, set the Deletion Policy of the AWS::RDS::DB instance?s Deletion Policy property to “Retain. (Correct)
  • In the AWS Cloud Formation template. set the AWS::RDS::DB instance?s DB instance Class property to be read only.

Answer : In the AWS Cloud Formation template, set the Deletion Policy of the AWS::RDS::DB instance?s Deletion Policy property to “Retain.

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions