BEST PRACTICES

SERVICES
Scenario
100


A CloudWatch alarm is set to trigger when average CPU usage exceeds 80% for 1 evaluation period. Which change would improve reliability of scaling decisions?

A) Lower the threshold to 50%
 B) Use sum statistic instead of average
 C) Increase evaluation periods to 2 or more
 D) Add a manual approval step before triggering scaling



C) Increase evaluation periods to 2 or more


100


These documents, named after an AWS Service, capture the who, what, when, and where of API interactions in AWS services.



AWS CloudTrail Logs


100


You need to balance HTTP and HTTPS traffic for a web application, while also using advanced request routing features. What would you use?



Application Load Balancer


200

You’ve configured an Application Load Balancer across two AZs, but users in one AZ report intermittent failures. What AWS best practice likely wasn’t followed?

A) The load balancer wasn’t sized correctly
 B) Health checks weren’t configured to deregister unhealthy targets
 C) Traffic wasn’t routed equally between AZs
 D) Only TCP protocol was used instead of HTTP


B) Health checks weren’t configured to deregister unhealthy targets


200


Elastic Load Balancing supports this kind of balancing, enabling you to load balance across AWS and on-premises resources with the same balancer.



hybrid


200


You’re working with an application that experiences sudden spikes in TCP traffic. What would you use?



Network Load Balancer


300

Which of the following is an incorrect pairing of use case and scaling strategy?

A) Black Friday retail traffic → Predictive scaling

 B) Known daily user spike → Scheduled scaling

 C) Variable session-based gaming app → Manual scaling

 D) API usage with fluctuating latency → Dynamic scaling

C) Variable session-based gaming app → Manual scaling

(Manual scaling is not ideal for unpredictable workloads like gaming. Dynamic would be best.)

300


This part of Amazon CloudWatch allows users to match changes in their AWS environment with targets.



Amazon CloudWatch Events


300


Your application has predictable peaks in traffic every Friday evening. What AWS feature would you use to automatically increase the number of EC2 instances to handle this peak?



Scheduled Scaling in Amazon EC2 Auto Scaling


400

A junior developer configures a CloudWatch alarm for memory usage as follows. The alarm does not trigger. What's the root issue?


A) Memory usage cannot be alarmed

 B) Default period is too long

 C) CloudWatch requires a statistic like average or maximum

 D) The metric is outside the namespace


C) CloudWatch requires a statistic like average or maximum


400


These EC2 Auto Scaling features allow you to maintain the health and availability of multiple EC2 instances. 



fleet management features


400


Your EC2 instances need to remain highly available. Which AWS service helps monitor resource health and automatically launches replacement instances if one becomes unhealthy?



Amazon EC2 Auto Scaling