Topic 1 Question 261
A company runs a workload in a single VPC on AWS. The company’s architecture contains several interface VPC endpoints for AWS services, including Amazon CloudWatch Logs and AWS Key Management Service (AWS KMS). The endpoints are configured to use a shared security group. The security group is not used for any other workloads or resources.
After a security review of the environment, the company determined that the shared security group is more permissive than necessary. The company wants to make the rules associated with the security group more restrictive. The changes to the security group rules must not prevent the resources in the VPC from using AWS services through interface VPC endpoints. The changes must prevent unnecessary access.
The security group currently uses the following rules:
• Inbound - Rule 1
Protocol: TCP -
Port: 443 -
Source: 0.0.0.0/0 -
• Inbound - Rule 2
Protocol: TCP -
Port: 443 -
Source: VPC CIDR -
• Outbound - Rule 1
Protocol: All -
Port: All -
Destination: 0.0.0.0/0 -
Which rule or rules should the company remove to meet with these requirements?
Outbound - Rule 2
Inbound - Rule 1 and Outbound - Rule 1
Inbound - Rule 2 and Outbound - Rule 1
Outbound - Rule 1
ユーザの投票
コメント(3)
- 正解だと思う選択肢: B
Keep Inbound Rule 2 (VPC CIDR) so that only resources in the VPC can connect to the endpoints. Replace the removed outbound rule with a more restrictive rule that allows outbound traffic only to the AWS service VPC endpoints.
👍 2woorkim2025/02/01 - 正解だと思う選択肢: A
question is not complete. Correct answer should be inbound rule 1. inbound rule 2 is not complete but i assume there are some network cidrs provided so only this inbound should stay. There is also one outbound rule so it doesn't make sense to remove outbound rule 2
👍 1kowal_0012025/01/16 - 正解だと思う選択肢: B
Inbound rule 2 allows traffic from the VPC CIDR to the endpoints incoming so can delete inbound rule 1 which is wider than the VPC CIDR and as SGs are stateful and automatically allow return traffic can delete the outbound rule. No need to add anything.
👍 1secdaddy2025/02/03
シャッフルモード