
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company is reviewing a recent migration of a three-tier application to a VPC. The security team discovers that the principle of least privilege is not being applied to Amazon EC2 security group ingress and egress rules between the application tiers. What should a solutions architect do to correct this issue?
A
Create security group rules using the instance ID as the source or destination.
B
Create security group rules using the security group ID as the source or destination.
C
Create security group rules using the VPC CIDR blocks as the source or destination.
D
Create security group rules using the subnet CIDR blocks as the source or destination.
Explanation:
Correct Answer: B - Create security group rules using the security group ID as the source or destination.
A. Instance ID:
C. VPC CIDR blocks:
D. Subnet CIDR blocks:
For a three-tier application:
This ensures each tier can only communicate with the specific tiers it needs to, following the principle of least privilege.