ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 284 - SCS-C02 discussion

Report
Export

A company hosts a public website on an Amazon EC2 instance. HTTPS traffic must be able to access the website. The company uses SSH for management of the web server.

The website is on the subnet 10.0.1.0/24. The management subnet is 192.168.100.0/24. A security engineer must create a security group for the EC2 instance.

Which combination of steps should the security engineer take to meet these requirements in the MOST secure manner? (Select TWO.)

A.
Allow port 22 from source 0.0.0.0/0.
Answers
A.
Allow port 22 from source 0.0.0.0/0.
B.
Allow port 443 from source 0.0.0.0/0.
Answers
B.
Allow port 443 from source 0.0.0.0/0.
C.
Allow port 22 from 192.168.100.0/24.
Answers
C.
Allow port 22 from 192.168.100.0/24.
D.
Allow port 22 from 10.0.1.0/24.
Answers
D.
Allow port 22 from 10.0.1.0/24.
E.
Allow port 443 from 10.0.1.0/24.
Answers
E.
Allow port 443 from 10.0.1.0/24.
Suggested answer: B, C

Explanation:

The correct answer is B and C)

B) Allow port 443 from source 0.0.0.0/0.

This is correct because port 443 is used for HTTPS traffic, which must be able to access the website from any source IP address.

C) Allow port 22 from 192.168.100.0/24.

This is correct because port 22 is used for SSH, which is the management protocol for the web server. The management subnet is 192.168.100.0/24, so only this subnet should be allowed to access port 22.

A) Allow port 22 from source 0.0.0.0/0.

This is incorrect because it would allow anyone to access port 22, which is a security risk. SSH should be restricted to the management subnet only.

D) Allow port 22 from 10.0.1.0/24.

This is incorrect because it would allow the website subnet to access port 22, which is unnecessary and a security risk. SSH should be restricted to the management subnet only.

E) Allow port 443 from 10.0.1.0/24.

This is incorrect because it would limit the HTTPS traffic to the website subnet only, which defeats the purpose of having a public website.

asked 16/09/2024
Ruben Munilla Hernandez
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first