exam questions

Exam ANS-C00 All Questions

View all questions & answers for the ANS-C00 exam

Exam ANS-C00 topic 1 question 27 discussion

Exam question from Amazon's ANS-C00
Question #: 27
Topic #: 1
[All ANS-C00 Questions]

You are moving a two-tier application into an Amazon VPC. An Elastic Load Balancing (ELB) load balancer is configured in front of the application tier. The application tier is driven through RESTful interfaces. The data tier uses relational database service (RDS) MySQL. Company policy requires end-to-end encryption of all data in transit.
What ELB configuration complies with the corporate encryption policy?

  • A. Configure the ELB load balancer protocol as HTTP. Configure the application instances for SSL termination. Configure Amazon RDS for SSL, and use REQUIRE SSL grants.
  • B. Configure the ELB protocols in TCP mode. Configure the application instances for SSL termination. Configure Amazon RDS for SSL, and use REQUIRE SSL grants.
  • C. Configure the ELB load balancer protocol as HTTPS. Offload application instance encryption to the load balancer. Install your SSL certificate on Amazon RDS, and configure SSL.
  • D. Configure the ELB protocols in SSL mode. Offload application instance encryption to the load balancer. Install your SSL/TLS certificate on Amazon RDS, and configure SSL.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Johnny_Green
Highly Voted 3 years, 5 months ago
Answer is B. My reasoning is as follows: There are three components to consider here: ELB, Application Instances, and Amazon RDS. Since company policy requires end-to-end encryption of all data in transit, ideally the encrypted data can go all the way to the database service (RDS) MySQL. However, that is not possible (otherwise this entire question becomes totally meaningless). Having the load balancer handle the SSL termination won't solve the problem as ELB cannot re-encrypt https traffic. As a result, we are only left with the application instances for SSL termination. With MySQL you can opt to connect to the database using an encrypted connection by configuring Amazon RDS for SSL, and use REQUIRE SSL grants. See https://www.laurencegellert.com/2017/08/how-to-require-ssl-when-connecting-to-mysql-on-aws-rds/
upvoted 15 times
...
Rim007
Highly Voted 3 years, 6 months ago
Answer is B, ELB cannot re-encrypt https traffic. So working at tcp level and leaving decrypting to App servers solve the problem.
upvoted 8 times
PavanKushwah123
2 years, 3 months ago
Correct Answer C
upvoted 1 times
...
...
PavanKushwah123
Most Recent 2 years, 3 months ago
Correct Answer C
upvoted 1 times
...
PavanKushwah123
2 years, 3 months ago
Correct Answer B
upvoted 1 times
...
cdeavila
2 years, 6 months ago
The answer is B https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/https-tcp-passthrough.html
upvoted 1 times
...
MohamedSherif1
2 years, 11 months ago
Configure the ELB protocols in TCP mode. Configure the application instances for SSL termination. Configure Amazon RDS for SSL, and use REQUIRE SSL grants.
upvoted 1 times
...
BKV83
3 years, 3 months ago
Selected Answer: B
B is the answer because ..here we need to use NLB ( Restful API) and for end to end enrcyption TCP is in ELB and SSL in Servers
upvoted 2 times
...
hugo1111
3 years, 3 months ago
B...cannot offload the encryption to ELB. It will decrypt the data in ELB and then encrypt again and send to the servers which does not meet the requirement of E2E encryption
upvoted 1 times
...
ceros399
3 years, 4 months ago
Selected Answer: B
@Johnny_Green gave a perfect explanation why, so I vote for B
upvoted 2 times
...
borisgor
3 years, 4 months ago
Selected Answer: B
2 ssl terminations (user-LB and LB-EC2) do not make sense on a path, instead , passing through LB , terminating on EC2 would give us end-to-end in more practical way, to me it's B
upvoted 2 times
...
ParthD
3 years, 4 months ago
Selected Answer: B
correct answer is B
upvoted 2 times
...
Cyril_the_Squirl
3 years, 5 months ago
B is correct, for clarity, we’re referring to CLB not ALB
upvoted 1 times
...
viet1991
3 years, 5 months ago
May be C. ELB have supported re-encrypt from on 30 AUG 2011 --- 1. Terminate SSL on ELB. 2. Re-encrypt traffic on ELB. 3. Terminate SSL on EC2 (deploy self-sign certificate or using private root CA) --- https://aws.amazon.com/blogs/aws/elastic-load-balancer-ssl-support-options/ We’re enhancing this feature to allow you to terminate a request at the load balancer and then re-encrypt it before it is sent to an EC2 instance
upvoted 2 times
...
ChauPhan
3 years, 5 months ago
B. End to End means from user to ELB then application-RDS will be all-encrypted without taking off security layer (SSL) in the middle. So not offload concept but application SSL termination endpoint.
upvoted 1 times
Huy
3 years, 5 months ago
wrong understanding. End to End encryption means all data in-transit are encrypted. 1 possible solution can be using HTTPS on ELB, install Self-sign Certificate on EC2 and ELB send traffic in SSL
upvoted 1 times
...
...
lunt
3 years, 6 months ago
Deep dived into this. A. Obvious. Nope. Listerner = HTTP. C. ELB listener = HTTPS. SSL/TLS terminated. Connection to App tier RESTful interfaces = can be HTTP sessions. Google restful definition - basic 101 stuff. Not full encryption path. D. ELB with 443 > ELB terminated = fail. Nope. B. ELB TCP Mode. Passthrough traffic. App tier terminates SSL = good. RDS SSL require SSL = connections to RDS require SSL. This is good. This is end to end. The question misses out on some stuff, also the technical accuracy of the text is very generic, dive into RDS world and the language is more nounced. Answer is B. Crappy accuracy of text but its gives enough info to see in basic 101 networking that B is end to end.
upvoted 5 times
lunt
3 years, 5 months ago
Also you can do user > ELB SSL | ELB SSL to EC2 instance encrypted. Just required some additional scripting and specific healthchecks. The key point herer is that none of the AWS responses mention any config related to 2 stage SSL/TLS encryption. There are key words required for such a config and they are not in the responses.
upvoted 1 times
...
...
Smartphone
3 years, 6 months ago
A can be a correct answer because it will not provide end-to-end encryption. B seems the correct answer.
upvoted 2 times
...
backfringe
3 years, 6 months ago
why B? I think its A
upvoted 2 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