Will questions like this come up in the CCP exam ?


Related discussions:

absolutely no. too advanced for CCP

Cheers for the reply, was panicking a bit

You have to trust the official CLF-C02 exam guide for the exam coverage. The AWS Cloud Practitioner Essentials course on AWS SkillBuilder and Tutorials Dojo practice exams are highly recommended.

100% No

The answer is A for anyone wondering

For SSH port 22 should accept the incoming traffic, which may be blocked if it was not specifically opened using security group. I don’t know what AWS asks in CCP exam though.

Agree the 3rd option (EIP) looks tempting but question does not say whether the EC2 is in a public or private subnet. If latter, attaching an EIP is bad practice, so this can be ruled out.

The tag option (#2) is distractor.

Tcp Forwarding may be needed only if the EC2 instance is to be repurposed as a NAT instance (not indicated in the requirements),

Hence, setting the security group to allow incoming traffic from SSH port is the best option: the return traffic will automatically go back (no setup needed) as security groups are stateful.

This level of difficulty is not likely for Cloud Practitioner. This sounds like DevOps specialty or Dev Associate level.

Attaching a public IP by itself would not be enough, there would still need to be a security rule. It’s 100% A

Agree but if the ec2 in a public subnet it can be reachable. But if it’s in a private subnet as you say still requires both nacl and security group to allow..the choice is bit ambiguous and incomplete so can be ruled out. Thank you for your note.