You are recently hired as an AWS architect in a startup company.
The company just developed an online photo-sharing product.
After the product was deployed for some time, you have found that the instances in the Auto Scaling group have reached the maximum value from time to time due to the high CPU rate and traffic.
Click on the arrows to vote for the correct answer
A. B. C. D. E.Correct Answer - A, D.
For AWS WAF, an ACL can be configured to control the HTTP and HTTPS requests that are forwarded to an Amazon API Gateway API, Amazon CloudFront, or an Application Load Balancer.
Option A is CORRECT: Because CloudFront distribution is a global resource that WAF ACL can be associated with.
Option B is incorrect: Because the Auto Scaling group is not a valid resource that ACL can be linked with.
Option C is incorrect: Same as Option.
B.Option D is CORRECT: Because the application load balancer in a region can be selected for the ACL as below.
Option E is incorrect: Because the network load balancer is not supported.
For the regions where the application load balancer is supported for AWS WAF ACL, please check the AWS document in.
https://docs.aws.amazon.com/general/latest/gr/rande.html#waf_region.The correct answer is B. The Auto Scaling group that the product has used.
Explanation:
Auto Scaling groups in AWS are used to automatically increase or decrease the number of instances running based on demand. The Auto Scaling group allows for setting thresholds for CPU utilization, memory usage, network traffic, and other metrics. When these thresholds are exceeded, new instances are launched, and when the thresholds are no longer met, instances are terminated.
In the case of the online photo-sharing product, it is likely that the high CPU rate and traffic are causing the instances in the Auto Scaling group to reach the maximum value. This means that the Auto Scaling group is not able to meet the demands of the users, and therefore, the company should consider adjusting the threshold settings in the Auto Scaling group to handle the increased load.
Other options such as CloudFront distribution, load balancers, and individual EC2 instances are not likely to be the root cause of the issue. A global CloudFront distribution can help to distribute traffic and improve performance, but it will not directly address the issue of high CPU utilization in the Auto Scaling group. Load balancers can help distribute traffic, but they will not directly address the issue of the Auto Scaling group reaching its maximum value. Adding each instance ID to associate with the ACL is not a solution for this issue but rather a security measure. Finally, the network load balancer for the product in a specific region is not likely to be the root cause of the issue as it only manages traffic within that region.
Therefore, the correct answer is B. The Auto Scaling group that the product has used.