AWS Certified Solutions Architect – Professional SAP-C01 – Question289

A sys admin is maintaining an application on AWS. The application is installed on EC2 and user has configured ELB and Auto Scaling. Considering future load increase, the user is planning to launch new servers proactively so that they get registered with ELB.
How can the user add these instances with Auto Scaling?

A.
Decrease the minimum limit of the Auto Scaling group
B. Increase the maximum limit of the Auto Scaling group
C. Launch an instance manually and register it with ELB on the fly
D. Increase the desired capacity of the Auto Scaling group

Correct Answer: D

Explanation:

Explanation: A user can increase the desired capacity of the Auto Scaling group and Auto Scaling will launch a new instance as per the new capacity. The newly launched instances will be registered with ELB if Auto Scaling group is configured with ELB. If the user decreases the minimum size the instances will be removed from Auto Scaling. Increasing the maximum size will not add instances but only set the maximum instance cap.
Reference:
http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-man…

AWS Certified Solutions Architect – Professional SAP-C01 – Question288

You have just added a new instance to your Auto Scaling group, which receives ELB health checks. An ELB heath check says the new instance's state is out of Service.
What does Auto Scaling do in this particular scenario?

A.
It replaces the instance with a healthy one
B. It stops the instance
C. It marks an instance as unhealthy
D. It terminates the instance

Correct Answer: C

Explanation:

Explanation: If you have attached a load balancer to your Auto Scaling group, you can have Auto Scaling include the results of Elastic Load Balancing health checks when it determines the health status of an instance. After you add ELB health checks, Auto Scaling will mark an instance as unhealthy if Elastic Load Balancing reports the instance state as Out of Service. Frequently, an Auto Scaling instance that has just come into service needs to warm up before it can pass the Auto Scaling health check. Auto Scaling waits until the health check grace period ends before checking the health status of the instance. While the EC2 status checks and ELB health checks can complete before the health check grace period expires, Auto Scaling does not act on them until the health check grace period expires. To provide ample warm-up time for your instances, ensure that the health check grace period covers the expected startup time for your application.
Reference:
http://docs.aws.amazon.com/autoscaling/latest/userguide/healthcheck…

AWS Certified Solutions Architect – Professional SAP-C01 – Question287

You have setup an Auto Scaling group. The cool down period for the Auto Scaling group is 7 minutes. The first scaling activity request for the Auto Scaling group is to launch two instances. It receives the activity question at time "t", and the first instance is launched at t+3 minutes, while the second instance is launched at t+4 minutes.
How many minutes after time "t" will Auto Scaling accept another scaling activity request?

A.
11 minutes
B. 10 minutes
C. 7 minutes
D. 14 minutes

Correct Answer: A

Explanation:

Explanation: If an Auto Scaling group is launching more than one instance, the cool down period for each instance starts after that instance is launched. The group remains locked until the last instance that was launched has completed its cool down period. In this case the cool down period for the first instance starts after 3 minutes and finishes at the 10th minute (3+7 cool down), while for the second instance it starts at the 4th minute and finishes at the 11th minute (4+7 cool down). Thus, the Auto Scaling group will receive another request only after 11 minutes.
Reference:
http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AS_Con…

AWS Certified Solutions Architect – Professional SAP-C01 – Question286

Can a user configure a custom health check with Auto Scaling?

A.
Yes, but the configured data will not be saved to Auto Scaling.
B. No, only an ELB health check can be configured with Auto Scaling.
C. Yes
D. No

Correct Answer: C

Explanation:

Explanation: Auto Scaling can determine the health status of an instance using custom health checks. If you have custom health checks, you can send the information from your health checks to Auto Scaling so that Auto Scaling can use this information. For example, if you determine that an instance is not functioning as expected, you can set the health status of the instance to Unhealthy. The next time that Auto Scaling performs a health check on the instance, it will determine that the instance is unhealthy and then launch a replacement instance.
Reference:
http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/health…

AWS Certified Solutions Architect – Professional SAP-C01 – Question285

A user wants to configure AutoScaling which scales up when the CPU utilization is above 70% and scales down when the CPU utilization is below 30%.
How can the user configure AutoScaling for the above mentioned condition?

A.
Configure ELB to notify AutoScaling on load increase or decrease
B. Use AutoScaling with a schedule
C. Use AutoScaling by manually modifying the desired capacity during a condition
D. Use dynamic AutoScaling with a policy

Correct Answer: D

Explanation:

Explanation: The user can configure the AutoScaling group to automatically scale up and then scale down based on the specified conditions. To configure this, the user must setup policies which will get triggered by the CloudWatch alarms.
Reference:
http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-sca…

AWS Certified Solutions Architect – Professional SAP-C01 – Question284

Which of the following is NOT a true statement about Auto Scaling?

A.
Auto Scaling can launch instances in different Azs.
B. Auto Scaling can work with CloudWatch.
C. Auto Scaling can launch an instance at a specific time.
D. Auto Scaling can launch instances in different regions.

Correct Answer: D

Explanation:

Explanation: Auto Scaling provides an option to scale up and scale down based on certain conditions or triggers from Cloudwatch. A user can configure such that Auto Scaling launches instances across Azs, but it cannot span across regions.
Reference:
http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-dg.pdf

AWS Certified Solutions Architect – Professional SAP-C01 – Question283

An Auto Scaling group is running at the desired capacity of 5 instances and receives a trigger from the Cloudwatch Alarm to increase the capacity by 1. The cool down period is 5 minutes. Cloudwatch sends another trigger after 2 minutes to decrease the desired capacity by 1.
What will be the count of instances at the end of 4 minutes?

A.
4
B. 5
C. 6
D. 7

Correct Answer: C

Explanation:

Explanation: The cool down period is the time difference between the end of one scaling activity (can be start or terminate) and the start of another one (can be start or terminate). During the cool down period, Auto Scaling does not allow the desired capacity of the Auto Scaling group to be changed by any other CloudWatch alarm. Thus, in this case the trigger from the second alarm will have no effect.
Reference:
http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AS_Con…

AWS Certified Solutions Architect – Professional SAP-C01 – Question282

Can you configure multiple Load Balancers with a single Auto Scaling group?

A.
No
B. Yes, you can but only if it is configured with Amazon Redshift.
C. Yes, you can provide the ELB is configured with Amazon AppStream.
D. Yes

Correct Answer: D

Explanation:

Explanation: Yes, you can configure more than one load balancer with an autoscaling group. Auto Scaling integrates with Elastic Load Balancing to enable you to attach one or more load balancers to an existing Auto Scaling group. After you attach the load balancer, it automatically registers the instances in the group and distributes incoming traffic across the instances.
Reference:
http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AS_Con…

AWS Certified Solutions Architect – Professional SAP-C01 – Question281

AWS Certified Solutions Architect – Professional SAP-C01 – Question280

An organization has setup RDS with VPC. The organization wants RDS to be accessible from the internet.
Which of the below mentioned configurations is not required in this scenario?

A.
The organization must enable the parameter in the console which makes the RDS instance publicly accessible.
B. The organization must allow access from the internet in the RDS VPC security group,
C. The organization must setup RDS with the subnet group which has an external IP.
D. The organization must enable the VPC attributes DNS hostnames and DNS resolution.

Correct Answer: C

Explanation:

Explanation: A Virtual Private Cloud (VPC) is a virtual network dedicated to the user’s AWS account. It enables the user to launch AWS resources, such as RDS into a virtual network that the user has defined. Subnets are segments of a VPC’s IP address range that the user can designate to a group of VPC resources based on security and operational needs. A DB subnet group is a collection of subnets (generally private) that the user can create in a VPC and which the user assigns to the RDS DB instances. A DB subnet group allows the user to specify a particular VPC when creating DB instances. If the RDS instance is required to be accessible from the internet: The organization must setup that the RDS instance is enabled with the VPC attributes, DNS hostnames and DNS resolution. The organization must enable the parameter in the console which makes the RDS instance publicly accessible. The organization must allow access from the internet in the RDS VPC security group.
Reference:
http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.html