ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 348 - SAP-C02 discussion

Report
Export

A company recently wanted a web application from an on-premises data center to the AWS Cloud. The web application infrastructure consists of an Amazon CloudFront distribution that routes to an Application Load Balancer (ALB), with Amazon Elastic Container Service (Amazon ECS) to process requests. A recent security audit revealed that the web application is accessible by using both CloudFront and ALB endpoints. However. the company requires that the web application must be accessible only by using the CloudFront endpoint.

Which solution will meet this requirement with the LEAST amount of effort?

A.
Create a new security group and attach it to the CloudFront distribution. Update the ALB security group ingress to allow access only from the CloudFront security group.
Answers
A.
Create a new security group and attach it to the CloudFront distribution. Update the ALB security group ingress to allow access only from the CloudFront security group.
B.
Update ALB security group ingress to allow access only from the CloudFront managed prefix list.
Answers
B.
Update ALB security group ingress to allow access only from the CloudFront managed prefix list.
C.
Create a VPC interface endpoint for Elastic Load Balancing. Update the ALB scheme from internet-facing to internal_
Answers
C.
Create a VPC interface endpoint for Elastic Load Balancing. Update the ALB scheme from internet-facing to internal_
D.
Extract CloudFront IPS from the AWS provided ip-ranges.json document. Update ALB security group ingress to allow access only from CloudFront IPs.
Answers
D.
Extract CloudFront IPS from the AWS provided ip-ranges.json document. Update ALB security group ingress to allow access only from CloudFront IPs.
Suggested answer: B

Explanation:

The CloudFront managed prefix list contains the IP ranges for all CloudFront edge locations. By updating the ALB security group ingress to allow access only from this prefix list, the web application will be accessible only by using the CloudFront endpoint. This solution requires the least amount of effort compared to the other options, which involve creating new resources or updating existing ones. This solution also avoids hard-coding IP addresses, which can change over time.

asked 16/09/2024
TAMPO DARKOI
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first