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 47 discussion

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

A Software Engineer is trying to figure out why network connectivity to an Amazon EC2 instance does not appear to be working correctly. Its security group allows inbound HTTP traffic from 0.0.0.0/0, and the outbound rules have not been modified from the default. A custom network ACL associated with its subnet allows inbound HTTP traffic from 0.0.0.0/0 and has no outbound rules.
What would resolve the connectivity issue?

  • A. The outbound rules on the security group do not allow the response to be sent to the client on the ephemeral port range.
  • B. The outbound rules on the security group do not allow the response to be sent to the client on the HTTP port.
  • C. An outbound rule must be added to the network ACL to allow the response to be sent to the client on the ephemeral port range.
  • D. An outbound rule must be added to the network ACL to allow the response to be sent to the client on the HTTP port.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Reference:
https://aws.amazon.com/premiumsupport/knowledge-center/connect-http-https-ec2/

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
BillyC
Highly Voted 3 years, 6 months ago
C is Correct
upvoted 34 times
...
josellama2000
Highly Voted 3 years, 6 months ago
C is correct We assumed that the EC2 is a HTTP server. Therefore target port of incoming traffic is 80 or 443, and source port of incoming traffic is a ephemeral port (enduser's port). Responses from the HTTP server will be outgoing traffic with target port being ephemeral and source port being 80 or 443. security groups are sessionful, therefore we dont need a outbound security group ACL are sessionless and we need to specify an outbound rule. This rule should have 80 or 443 as source port and ephemeral as target port
upvoted 32 times
...
ITGURU51
Most Recent 1 year, 11 months ago
The answer is C because security groups are stateful and NACL's are stateless. Since NACL's are stateless traffic must be enabled in both directions.
upvoted 1 times
...
skillz2investor
2 years, 5 months ago
Selected Answer: C
C is correct. NACL is stateless and requires permitting outbound ephemeral ports.
upvoted 1 times
...
tezawynn
3 years, 1 month ago
NACL is stateless which means you have to set the outbound rules, default rules wont work.
upvoted 1 times
...
lotfi50
3 years, 1 month ago
Selected Answer: C
C is the answer
upvoted 1 times
...
alghoundar
3 years, 2 months ago
C it is. A B are out of the question becuse SGs are stateful so if inbound is working outbound is ok too. D is wrong traffic to the public internet has to be done on ephemeral ports not 80.
upvoted 2 times
...
Radhaghosh
3 years, 2 months ago
C. An outbound rule must be added to the network ACL to allow the response to be sent to the client on the ephemeral port range.
upvoted 1 times
...
jayaj
3 years, 3 months ago
question says " but contains no outward restrictions." isn't this mean outbound rule already exists. Default outbound rule is deny all and on this custom rule no restrictions exists??
upvoted 1 times
...
NivNZ
3 years, 5 months ago
C is the answer Ref: https://aws.amazon.com/premiumsupport/knowledge-center/resolve-connection-sg-acl-inbound/
upvoted 2 times
...
hk436
3 years, 5 months ago
C is my answer.!
upvoted 1 times
...
Mikeclue
3 years, 5 months ago
C. why? NACLs are stateless. On that account, changes applicable to an incoming rule will not be applicable to the outgoing rule, and hence you have to configure the outbound as well.
upvoted 1 times
refuz
3 years, 5 months ago
C is correct. https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html#nacl-ephemeral-ports
upvoted 1 times
...
...
sanjaym
3 years, 5 months ago
Ans: C 100%
upvoted 1 times
...
durmusc
3 years, 5 months ago
The correct answer is C, not D. Network ACL outbound rule must contain ephemeral ports.
upvoted 1 times
...
NANDY666
3 years, 5 months ago
C is Correct
upvoted 1 times
...
devjava
3 years, 5 months ago
Ans > C https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html#nacl-ephemeral-ports
upvoted 2 times
...
AfricanCloudGuru
3 years, 5 months ago
Ans (C)
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