ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 706 - SAP-C01 discussion

Report
Export

A user is accessing an EC2 instance on the SSH port for IP 10.20.30.40/32.

Which one is a secure way to configure that the instance can be accessed only from this IP?

A.
In the security group, open port 22 for IP 10.20.30.40
Answers
A.
In the security group, open port 22 for IP 10.20.30.40
B.
In the security group, open port 22 for IP 10.20.30.0
Answers
B.
In the security group, open port 22 for IP 10.20.30.0
C.
In the security group, open port 22 for IP 10.20.30.40/32
Answers
C.
In the security group, open port 22 for IP 10.20.30.40/32
D.
In the security group, open port 22 for IP 10.20.30.40/0
Answers
D.
In the security group, open port 22 for IP 10.20.30.40/0
Suggested answer: C

Explanation:

In AWS EC2, while configuring a security group, the user needs to specify the IP address in CIDR notation. The CIDR IP range 10.20.30.40/32 says it is for a single IP 10.20.30.40. If the user specifies the IP as 10.20.30.40 only, the security group will not accept and ask for it in a CIDR format.

Reference: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html

asked 16/09/2024
Omar Olaya
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first