A user is trying to setup a scheduled scaling activity using Auto Scaling. The user wants to setup
the recurring schedule. Which of the below mentioned parameters is not required in this case?
A.
Maximum size
B.
Auto Scaling group name
C.
End time
D.
Recurrence value
Explanation:
Auto Scaling based on a schedule allows the user to scale the application in response to
predictable load changes. The user can also configure the recurring schedule action which will
follow the Linux cron format. If the user is setting a recurring event, it is required that the user
specifies the Recurrence value (in a cron format., end time (not compulsory but recurrence will
stop after this. and the Auto Scaling group for which the scaling activity is to be scheduled.
A
A
C – http://docs.aws.amazon.com/autoscaling/latest/userguide/schedule_time.html
C
C
to pass certification answer is A
This is a horrible question. I’m willing to bandwagon on A, but I’m not sure there’s enough info to say b/w A and C for sure, after going through the documentation. Has anyone gone through the actual process?
http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_PutScheduledUpdateGroupAction.html
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-scheduledaction.html
http://docs.aws.amazon.com/autoscaling/latest/userguide/schedule_time.html
I’m able to confirm that the answer is: A
The documentation states that you need “one” of the following “Min, Max, Desired” to create the schedule. It also specifies that you need to set a start, or end time for the recurrence schedule.
Doing the testing in my own environment I found this to be true, you need to set either a start or end time on the schedule. If we go by process of elimination based on the ambiguity of this terrible question, “A” still rings the most true as it is not “Required” to be there as you could select Min, Max, or Desired when running the configuration.
If you have to configure a AS Schedule Action using 3 of the 4 parameters (since we have to drop one), you can’t get the rid of A, as you have at least to specify something about capacity. But you can ignore C. So C.
I think the question should be “what is required” so the answer is B.
http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_PutScheduledUpdateGroupAction.html#API_PutScheduledUpdateGroupAction_RequestParameters
AutoScalingGroupName
The name of the Auto Scaling group.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1600.
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
Required: Yes
DesiredCapacity
The number of EC2 instances that should be running in the group.
Type: Integer
Required: No
EndTime
The time for the recurring schedule to end. Auto Scaling does not perform the action after this time.
Type: Timestamp
Required: No
MaxSize
The maximum size for the Auto Scaling group.
Type: Integer
Required: No
MinSize
The minimum size for the Auto Scaling group.
Type: Integer
Required: No
Recurrence
The recurring schedule for this action, in Unix cron syntax format. For more information, see Cron in Wikipedia.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
Required: No