exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 330 discussion

A solutions architect needs to design a highly available application consisting of web, application, and database tiers. HTTPS content delivery should be as close to the edge as possible, with the least delivery time.
Which solution meets these requirements and is MOST secure?

  • A. Configure a public Application Load Balancer (ALB) with multiple redundant Amazon EC2 instances in public subnets. Configure Amazon CloudFront to deliver HTTPS content using the public ALB as the origin.
  • B. Amazon EC2 instances in private subnets Configure. Configure a public Application Load Balancer with multiple redundant Amazon CloudFront to deliver HTTPS content using the EC2 instances as the origin.
  • C. Configure a public Application Load Balancer (ALB) with multiple redundant Amazon EC2 instances in private subnets. Configure Amazon CloudFront to deliver HTTPS content using the public ALB as the origin.
  • D. Configure a public Application Load Balancer with multiple redundant Amazon EC2 instances in public subnets. Configure Amazon CloudFront to deliver HTTPS content using the EC2 instances as the origin.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
dmscountera
Highly Voted 3 years, 7 months ago
C ALB is public resource EC2 must be in private subnet CLoudFront to distribute
upvoted 74 times
awsnoobster
3 years, 2 months ago
agree with C, EC2 instances must be private, ALB public
upvoted 1 times
...
noahsark
3 years, 7 months ago
Agree with C. A and D are wrong as EC2 instances are in public subnets. B is confusing like Configure ALB with multiple redundant CloudFront LOL
upvoted 12 times
...
francisco_guerra
3 years, 6 months ago
But we cannot create an LB with origins in private subnets we need to create public subnets in the same AZ https://aws.amazon.com/premiumsupport/knowledge-center/public-load-balancer-private-ec2/ so we need to use A
upvoted 4 times
cnmc
3 years, 6 months ago
Seriously you need to go back to the link you pasted and read it very carefully... You create a public subnet to attach the ALB, not the instance
upvoted 7 times
...
allanm
2 years, 8 months ago
This is what happens when you cherry pick information from articles. Read your link again. The short description says it well - "To attach Amazon EC2 instances located in a private subnet, create public subnets in the same Availability Zones as the private subnets used by the backend instances. Then, associate the public subnets with your load balancer."
upvoted 1 times
...
...
...
soti84
Highly Voted 3 years, 7 months ago
Yeah, it's C: https://aws.amazon.com/premiumsupport/knowledge-center/public-load-balancer-private-ec2/
upvoted 8 times
...
sofiella
Most Recent 2 years, 3 months ago
C. Configure a public Application Load Balancer (ALB) with multiple redundant Amazon EC2 instances in private subnets. Configure Amazon CloudFront to deliver HTTPS content using the public ALB as the origin. This option provides a balance between availability, performance, and security. The EC2 instances, which host the application and database, are located in private subnets, which reduces the exposure to the public internet. The public ALB provides the necessary network accessibility while CloudFront delivers the HTTPS content as close to the edge as possible, improving delivery time.
upvoted 1 times
...
naveenagurjara
2 years, 10 months ago
Selected Answer: C
A and D rules out as EC2 are in Publci subnets and hence Not Secure. B is having EC2 as CF origin and this is not supported.
upvoted 2 times
AkshatVijay
2 years, 8 months ago
you can have an EC2 as origin for cloudfront distribution. Please don't post without knowing well https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistS3AndCustomOrigins.html#concept_CustomOrigin
upvoted 1 times
...
...
Cyp
2 years, 10 months ago
Answer is B. If you deliver https content at cloudfront with origins as ALB. The TLS termination will be on Cloud front and communication between cloudfront and ALB which is in Public subnet will be unencrypted. Hence, Terminating https at ALB is most Secure.
upvoted 1 times
...
alvaromg
3 years, 2 months ago
Selected Answer: C
C, private EC2 instances and public ALB
upvoted 2 times
...
KeshavaMugulur
3 years, 3 months ago
It should be C
upvoted 1 times
...
Gomer
3 years, 5 months ago
I think the answer is A, because they don't want the HTTPS origin on the "edge" along with the ALB and not processed through a NAT on a private subnet. Answer "A" has EC2 web servers in the same subnet as the LB for "least delivery time."
upvoted 1 times
...
samuel1999
3 years, 5 months ago
c la, already wrong on the answer ar
upvoted 1 times
...
Addy76
3 years, 5 months ago
Answer is C. For EC2 to be Origin of CloudFront it needs to be in public subnet
upvoted 3 times
Gomer
3 years, 5 months ago
If so, then doesn't your explanation match A instead of C? (A=EC2 in pub vs. C=EC2 in priv)
upvoted 1 times
...
...
Kenisworld666
3 years, 5 months ago
c for sure
upvoted 2 times
...
laski
3 years, 6 months ago
Curious as to why B is marked as the answer. Why go to all the trouble to create the ALB and then use the EC2 as the origin?
upvoted 1 times
...
oliveiralucas
3 years, 6 months ago
Go CCCCC
upvoted 2 times
...
Cotter
3 years, 6 months ago
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
upvoted 2 times
...
enurupu
3 years, 6 months ago
C is the answer. Why you want to make cloud front read data from EC2. When you've application load balancer in front of EC@
upvoted 5 times
...
ansh18061986
3 years, 6 months ago
Will go ahead with 'C'.
upvoted 4 times
...
KK_uniq
3 years, 6 months ago
C is ok
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago