exam questions

Exam AWS Certified Security - Specialty All Questions

View all questions & answers for the AWS Certified Security - Specialty exam

Exam AWS Certified Security - Specialty topic 1 question 160 discussion

Exam question from Amazon's AWS Certified Security - Specialty
Question #: 160
Topic #: 1
[All AWS Certified Security - Specialty Questions]

Example.com is hosted on Amazon EC2 instance behind an Application Load Balancer (ALB). Third-party host intrusion detection system (HIDS) agents that capture the traffic of the EC2 instance are running on each host. The company must ensure they are using privacy enhancing technologies for users, without losing the assurance the third-party solution offers.
What is the MOST secure way to meet these requirements?

  • A. Enable TLS pass through on the ALB, and handle decryption at the server using Elliptic Curve Diffie-Hellman (ECDHE) cipher suites.
  • B. Create a listener on the ALB that uses encrypted connections with Elliptic Curve Diffie-Hellman (ECDHE) cipher suites, and pass the traffic in the clear to the server.
  • C. Create a listener on the ALB that uses encrypted connections with Elliptic Curve Diffie-Hellman (ECDHE) cipher suites, and use encrypted connections to the servers that do not enable Perfect Forward Secrecy (PFS).
  • D. Create a listener on the ALB that does not enable Perfect Forward Secrecy (PFS) cipher suites, and use encrypted connections to the servers using Elliptic Curve Diffie-Hellman (ECDHE) cipher suites.
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
freddyman
Highly Voted 3 years, 6 months ago
This is a tough one. The real solution depends on how the agent works, it might require clear text network traffic. To decode TLS encrypted network traffic itself it will need the certificate and private key, and perfect forward secrecy would prevent that working even if it did. So in context I think C is the most likely answer, though it might be B in practice. A - ALB can't do this D - this is not good practice and the agent on the instance won't be able to decode PFS.
upvoted 14 times
acloudguru
3 years, 5 months ago
I can not remember ,seems ALB does not support TLS Termination, so the traffic from ALB to EC2 can not been encrypted, suggest you guys to check ,i have no time now
upvoted 1 times
...
...
Mr_Zaw
Highly Voted 3 years, 6 months ago
B. The Question does not say whether Third Party IPS should be able to decrypt the traffic. If it can't, it will affect the HIPS detection as it could not see the package content. The question do state that the change should not affect the assurance of third party HIPS.
upvoted 8 times
lycan
3 years, 6 months ago
the hids will have absolutely no issues in looking at the payload as the inspection happens in memory after the decryption, so answer is C
upvoted 1 times
...
...
Raphaello
Most Recent 1 year, 1 month ago
Selected Answer: C
C is the preferred answer, to have end-to-end encryption assuming that HIDS can work with TLS decryption. But B is not wrong. Connect to origin server (internally) over HTTP is acceptable in many cases, unless there is a mandate not to.
upvoted 1 times
...
ITGURU51
2 years ago
Modern day HIDS has the ability to decrypt TLS sessions therefore C is the most secure option. In addition enabling PFS will enhance security by addressing privacy concerns. To begin using Perfect Forward Secrecy, configure your load balancer with the newly added Elliptic Curve Cryptography (ECDHE) cipher suites. Most major browsers now support these newer and more secure cipher suites. Our next feature enables your load balancer to prefer using these stronger cipher suites for communication. C
upvoted 1 times
...
jishrajesh
2 years, 3 months ago
C is Correct
upvoted 1 times
...
tobedeleted
2 years, 5 months ago
Also, ALB is to terminate the SSL connection between Client and ALB. Not ALB to EC2. I don't find the answer here: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies
upvoted 1 times
...
tobedeleted
2 years, 5 months ago
Where is this decribed in aws docs? I don't find it here about PFS and when it should be enabled with ECDHE or when it should not. https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies
upvoted 1 times
...
arae
2 years, 6 months ago
honestly A seemed the right one for me ALB supports TLS now? https://aws.amazon.com/blogs/aws/new-application-load-balancer-sni/#:~:text=When%20a%20browser%20connects%20to,to%20establish%20a%20secure%20connection.
upvoted 1 times
...
Alexey79
2 years, 11 months ago
Selected Answer: C
C: ECDHE with PFS between client and ALB for best protection. ALB to EC2 w/o PFS so HIPS will be able to decrypt TLS and inspect encrypted data.
upvoted 3 times
...
LaLune
3 years, 3 months ago
One of the advantages of Host-based solution is that they can cached some of the issues the Network based solution could not as the traffic passed there encrypted. Their detection activities are taking place in the host memory on unencrypted traffic. 1) From Load Balancer, to the server the traffic is encrypted using at the LB level the ECDHE cipher. There is no PFS enabled 2) then the Host-based appliance (HIDS) takes it from there. 3) the traffic is encrypted between LB and server, ensuring privacy (requirement) This corresponds to the scenario in C.
upvoted 2 times
...
Huy
3 years, 5 months ago
My answer is C: Question ask for most secure way privacy enhancing technologies for users = ECDHE (already include PFS) + end2end encryption
upvoted 4 times
...
Hungdv
3 years, 5 months ago
I think B is answer because the question doesn't mention that encrypted data can be decrypted at HIPS.
upvoted 2 times
...
[Removed]
3 years, 6 months ago
according to the below, i think it is C https://medium.com/cloud-security/ids-and-ips-in-the-cloud-f07aac110d31 One of the benefits of host-based solutions is that they can inspect data that may be encrypted as it passes over the network, making it hard for network-based solutions to inspect the traffic. A host-based solution can inspect data in system memory at the points it is unencrypted. It also may have other insights that network solutions cannot see or may miss in tricky attacks when the host reassembles all the packets. Host-based solutions are also highly beneficial in preventing hosts from talking to each other that should not be if network security fails for some reason.
upvoted 2 times
...
Ghostbusters
3 years, 6 months ago
2 independent nuggets are important for answering this one: (1) 3rd party IDS software cannot work on encrypted traffic - this is a well known limitation of IDS. Because of this, the traffic between ALB and EC2 CANNOT BE ENCRYPTED (2) Whenever the question talks about enhancing privacy or encryption, chances are it is leaning towards use of PFS, and one glance at how many time ECDHE and PFS are mentioned tells us that it needs PFS between end-user and ALB, so we must enable ECDHE at the ALB. Combine these two facts together and there is only one answer that emerges: B
upvoted 4 times
Cushion
3 years, 6 months ago
No it's a HIDS. Traffic can be encrypted and then decrypted at the host.
upvoted 1 times
...
...
dinhvu111
3 years, 6 months ago
A is best answer
upvoted 1 times
...
Dic
3 years, 6 months ago
C HIDS inspects data in memory.
upvoted 2 times
...
cmcald
3 years, 7 months ago
A - most secure
upvoted 1 times
freddyman
3 years, 6 months ago
ALB can't pass through encrypted traffic, for that you need NLB or classic ELB. A is not the answer.
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