ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 277 - SCS-C01 discussion

Report
Export

An application running on EC2 instances in a VPC must call an external web service via TLS (port 443). The instances run in public subnets.

Which configurations below allow the application to function and minimize the exposure of the instances? Select 2 answers from the options given below Please select:

A.
A network ACL with a rule that allows outgoing traffic on port 443.
Answers
A.
A network ACL with a rule that allows outgoing traffic on port 443.
B.
A network ACL with rules that allow outgoing traffic on port 443 and incoming traffic on ephemeral ports
Answers
B.
A network ACL with rules that allow outgoing traffic on port 443 and incoming traffic on ephemeral ports
C.
A network ACL with rules that allow outgoing traffic on port 443 and incoming traffic on port 443.
Answers
C.
A network ACL with rules that allow outgoing traffic on port 443 and incoming traffic on port 443.
D.
A security group with a rule that allows outgoing traffic on port 443
Answers
D.
A security group with a rule that allows outgoing traffic on port 443
E.
A security group with rules that allow outgoing traffic on port 443 and incoming traffic on ephemeral ports.
Answers
E.
A security group with rules that allow outgoing traffic on port 443 and incoming traffic on ephemeral ports.
F.
A security group with rules that allow outgoing traffic on port 443 and incoming traffic on port 443.
Answers
F.
A security group with rules that allow outgoing traffic on port 443 and incoming traffic on port 443.
Suggested answer: B, D

Explanation:

Since here the traffic needs to flow outbound from the Instance to a web service on Port 443, the outbound rules on both the Network and Security Groups need to allow outbound traffic. The Incoming traffic should be allowed on ephermal ports for the Operating System on the Instance to allow a connection to be established on any desired or available port. Option A is invalid because this rule alone is not enough. You also need to ensure incoming traffic on ephemeral ports Option C is invalid because need to ensure incoming traffic on ephemeral ports and not only port 443 Option E and F are invalid since here you are allowing additional ports on Security groups which are not required For more information on VPC Security Groups, please visit the below URL:

https://docs.aws.amazon.com/AmazonVPC/latest/UserGuideA/PC_SecurityGroups.htmll

The correct answers are: A network ACL with rules that allow outgoing traffic on port 443 and incoming traffic on ephemeral ports, A security group with a rule that allows outgoing traffic on port443Submit your Feedback/Queries to our Experts

asked 16/09/2024
Mpho Ntshontsi
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first