exam questions

Exam AWS Certified Security - Specialty SCS-C02 All Questions

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

Exam AWS Certified Security - Specialty SCS-C02 topic 1 question 285 discussion

A public subnet contains two Amazon EC2 instances. The subnet has a custom network ACL. A security engineer is designing a solution to improve the subnet security.

The solution must allow outbound traffic to an internet service that uses TLS through port 443. The solution also must deny inbound traffic that is destined for MySQL port 3306.

Which network ACL rule set meets these requirements?

  • A. Use inbound rule 100 to allow traffic on TCP port 443. Use inbound rule 200 to deny traffic on TCP port 3306. Use outbound rule 100 to allow traffic on TCP port 443.
  • B. Use inbound rule 100 to deny traffic on TCP port 3306. Use inbound rule 200 to allow traffic on TCP port range 1024-65535. Use outbound rule 100 to allow traffic on TCP port 443.
  • C. Use inbound rule 100 to allow traffic on TCP port range 1024-65535. Use inbound rule 200 to deny traffic on TCP port 3306. Use outbound rule 100 to allow traffic on TCP port 443.
  • D. Use inbound rule 100 to deny traffic on TCP port 3306. Use inbound rule 200 to allow traffic on TCP port 443. Use outbound rule 100 to allow traffic on TCP port 443.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
Wardove
1 week ago
Selected Answer: B
Answer is B you need to accept ephemeral range for your tcp response to flow back 443 <-> 1000-65535 example custom network acl https://docs.aws.amazon.com/vpc/latest/userguide/custom-network-acl.html
upvoted 1 times
...
TareDHakim
2 weeks, 4 days ago
Selected Answer: C
Responses to requests sent to port 443 will use ephemeral ports (1024–65535). As for option C, allowing inbound traffic on ephemeral ports (1024–65535) is in rule 200, which is evaluated after the rule denying MySQL traffic (rule 100), returning traffic will be blocked before being allowed.
upvoted 1 times
...
Pmktechno
1 month, 1 week ago
Selected Answer: D
This configuration ensures that: Inbound traffic on MySQL port 3306 is denied. Inbound traffic on TCP port 443 (used for TLS) is allowed. Outbound traffic on TCP port 443 is allowed. This setup improves the subnet security by restricting unwanted inbound traffic while allowing necessary outbound traffic for internet services using TLS.
upvoted 2 times
...
Ucy
1 month, 3 weeks ago
Selected Answer: D
The correct answer is: D Use inbound rule 100 to deny traffic on TCP port 3306. Use inbound rule 200 to allow traffic on TCP port 443. Use outbound rule 100 to allow traffic on TCP port 443. Explanation: Inbound Rule 100 to deny traffic on TCP port 3306: This rule denies inbound traffic on MySQL’s default port (3306). It ensures that no traffic can reach the EC2 instances on that port from external sources. Inbound Rule 200 to allow traffic on TCP port 443: This rule allows inbound HTTPS (TLS) traffic on port 443, which is required for your application to communicate with an external internet service over HTTPS. Outbound Rule 100 to allow traffic on TCP port 443: This rule allows outbound traffic from the EC2 instances on port 443. It ensures that the EC2 instances can establish outbound connections to the internet over HTTPS. This rule set allows secure internet access for outbound TLS traffic on port 443 while denying inbound MySQL traffic on port 3306, fulfilling both requirements for security.
upvoted 3 times
60eae98
1 month, 1 week ago
On what port do you expect the outgoing internet traffic to come back? You need the ephemeral ports -> B.
upvoted 1 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