0
0
AWScloud~20 mins

Predictive scaling overview in AWS - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Predictive Scaling Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
How does AWS Predictive Scaling forecast traffic?

AWS Predictive Scaling uses historical data to forecast future traffic patterns. Which method best describes how it predicts scaling needs?

AIt uses machine learning models analyzing past usage trends to predict future demand.
BIt randomly scales instances based on current CPU usage without historical data.
CIt duplicates the current number of instances every hour regardless of traffic.
DIt scales only when manual intervention triggers alarms.
Attempts:
2 left
💡 Hint

Think about how a system can prepare ahead by learning from past patterns.

Architecture
intermediate
2:00remaining
Which AWS service combination enables Predictive Scaling for EC2 Auto Scaling groups?

To implement Predictive Scaling for an EC2 Auto Scaling group, which combination of AWS services is required?

AAmazon EC2 with AWS Elastic Beanstalk and Amazon SNS.
BAmazon S3 with AWS Lambda and Amazon RDS.
CAmazon EC2 Auto Scaling with Amazon CloudWatch and AWS Auto Scaling predictive policies.
DAWS Glue with Amazon Athena and Amazon QuickSight.
Attempts:
2 left
💡 Hint

Focus on services related to scaling and monitoring EC2 instances.

service_behavior
advanced
2:00remaining
What happens if Predictive Scaling forecast is inaccurate?

If AWS Predictive Scaling forecasts demand incorrectly, what is the expected behavior of the Auto Scaling group?

AThe Auto Scaling group deletes all instances and restarts with default capacity.
BThe Auto Scaling group stops scaling until manual intervention occurs.
CThe Auto Scaling group permanently disables scaling policies.
DThe Auto Scaling group falls back to reactive scaling based on real-time CloudWatch alarms.
Attempts:
2 left
💡 Hint

Consider how AWS ensures availability even if predictions are off.

security
advanced
2:00remaining
Which IAM permission is essential for enabling Predictive Scaling on an Auto Scaling group?

To allow AWS Predictive Scaling to function, which IAM permission must be granted to the Auto Scaling service role?

A"s3:ListBucket" to access S3 buckets for logs.
B"autoscaling:PutScheduledUpdateGroupAction" to create scheduled scaling actions.
C"ec2:TerminateInstances" to delete instances manually.
D"lambda:InvokeFunction" to trigger Lambda functions on scaling events.
Attempts:
2 left
💡 Hint

Think about permissions related to scheduling scaling actions.

Best Practice
expert
2:00remaining
How should you configure Predictive Scaling to handle sudden unexpected traffic spikes?

Given that Predictive Scaling forecasts based on historical data, what is the best practice to ensure your application handles sudden unexpected traffic spikes?

ACombine Predictive Scaling with reactive scaling policies triggered by CloudWatch alarms for immediate response.
BRely solely on Predictive Scaling and disable reactive scaling to avoid conflicts.
CSet Predictive Scaling to scale down aggressively to save costs during spikes.
DManually increase instance count before expected spikes and disable all automatic scaling.
Attempts:
2 left
💡 Hint

Consider how to cover both forecasted and unforecasted demand.