Amazon AWS Certified Solutions Architect - Associate SAA-C03 Practice Test 9
Question 80
A production role requires narrowly scoped access to one resource, yet its IAM Access Analyzer findings show an unused wildcard permission. What change should be made?
- Grant only the approved IAM self-service credential actions for those users.
- Use designated IAM or Identity Center billing roles and reserve root for root-only tasks.
- Apply supported MFA conditions to the appropriate session types and test automation exclusions.
- Replace the wildcard permission with verified resource-level actions and test dependent workflows.
Explanation
Correct Answer
D:Least privilege should be validated against expected operations, including infrequent maintenance. Run both routine and recovery transactions after narrowing.
Incorrect Answers
A:User self-service permissions should target the caller's own credentials, not privileged policies. Replace the wildcard permission with verified resource-level actions and test dependent workflows. Run both routine and recovery transactions after narrowing.
B:Billing administration can be delegated without exposing the AWS root identity routinely. Replace the wildcard permission with verified resource-level actions and test dependent workflows. Run both routine and recovery transactions after narrowing.
C:MFA context differs across credentials, so blanket conditions may break noninteractive roles. Replace the wildcard permission with verified resource-level actions and test dependent workflows. Run both routine and recovery transactions after narrowing.
Question 81
A public HTTPS storefront runs behind an Application Load Balancer. Its application EC2 instances must have no public IP addresses, and the application must still make S3 API calls without routing those S3 transfers through NAT. Which TWO network decisions meet the requirements? (Select TWO.)
- Use one NAT gateway for all S3 requests even though the VPC has an eligible gateway endpoint.
- Use an internet gateway route from the private subnets as the sole S3 access mechanism without public addresses.
- Place the internet-facing ALB in public subnets and EC2 application targets in private subnets across suitable AZs.
- Assign public IPv4 addresses to the application targets and enable broad inbound TCP 443.
- Associate an S3 gateway VPC endpoint with the private application subnets’ route tables.
Explanation
Correct Answers
C:The ALB can accept internet connections while private targets receive only approved forwarded traffic, with no direct public-IP exposure.
E:The gateway endpoint creates a regional AWS path for supported S3 API traffic without NAT processing; its policy and bucket permissions must still allow access.
Incorrect Answers
A:NAT would still incur the transfer processing and is unnecessary for supported same-Region S3 paths through an endpoint.
B:An internet gateway does not provide the required private-source S3 path for instances lacking public addressing.
D:This exposes the app instances directly, violating the private-target requirement and bypassing the intended ALB entry point.
Question 82
A private EC2 instance must download security patches but should never accept internet-initiated connections. Which outbound path fits?
- Use an egress-only internet gateway with an IPv6 default route for outbound traffic.
- Add the appropriate default route through the attached internet gateway and configure public addressing.
- Add an S3 gateway VPC endpoint and associate it with the private subnet route tables.
- Route its private subnet to a NAT gateway in a reachable public subnet.
Explanation
Correct Answer
D:NAT enables IPv4 outbound internet sessions without assigning the instance a public address. Test patch downloads and failed unsolicited inbound traffic.
Incorrect Answers
A:Egress-only internet gateways support outbound-initiated IPv6 connections in VPCs. Route its private subnet to a NAT gateway in a reachable public subnet. Test patch downloads and failed unsolicited inbound traffic.
B:IGW attachment alone does not create an internet route for an individual subnet. Route its private subnet to a NAT gateway in a reachable public subnet. Test patch downloads and failed unsolicited inbound traffic.
C:Gateway endpoints route eligible S3 traffic privately without NAT or internet gateways. Route its private subnet to a NAT gateway in a reachable public subnet. Test patch downloads and failed unsolicited inbound traffic.
Question 83
A subnet has an internet gateway attached to the VPC, yet its route table contains no default route to that gateway. What makes it public when intended?
- Add the appropriate default route through the attached internet gateway and configure public addressing.
- Use an egress-only internet gateway with an IPv6 default route for outbound traffic.
- Route its private subnet to a NAT gateway in a reachable public subnet.
- Place the ALB in public subnets and application targets in private subnets across AZs.
Explanation
Correct Answer
A:IGW attachment alone does not create an internet route for an individual subnet. Verify destination route selection and public endpoint reachability.
Incorrect Answers
B:Egress-only internet gateways support outbound-initiated IPv6 connections in VPCs. Add the appropriate default route through the attached internet gateway and configure public addressing. Verify destination route selection and public endpoint reachability.
C:NAT enables IPv4 outbound internet sessions without assigning the instance a public address. Add the appropriate default route through the attached internet gateway and configure public addressing. Verify destination route selection and public endpoint reachability.
D:Internet entry points can forward to private targets without exposing their instances directly. IGW attachment alone does not create an internet route for an individual subnet.
Question 84
A database must receive connections only from its application tier, not any client on the internet. How should it be placed?
- Place the ALB in public subnets and application targets in private subnets across AZs.
- Place database instances in isolated private subnets and allow only application security-group sources.
- Use dedicated subnets, route tables and tier-specific security groups across AZs.
- Route its private subnet to a NAT gateway in a reachable public subnet.
Explanation
Correct Answer
B:Database segregation minimizes public ingress and lateral exposure. Attempt connections from app and unrelated client security groups.
Incorrect Answers
A:Internet entry points can forward to private targets without exposing their instances directly. Place database instances in isolated private subnets and allow only application security-group sources. Attempt connections from app and unrelated client security groups.
C:Network tiers allow independent routing and inbound policy boundaries. Place database instances in isolated private subnets and allow only application security-group sources. Attempt connections from app and unrelated client security groups.
D:NAT enables IPv4 outbound internet sessions without assigning the instance a public address. Place database instances in isolated private subnets and allow only application security-group sources. Attempt connections from app and unrelated client security groups.
Question 85
A VPC's workloads lose reachability after changing the subnet route table association. What should be checked?
- Add the appropriate default route through the attached internet gateway and configure public addressing.
- Review the effective subnet association and intended longest-prefix destination routes.
- Add an S3 gateway VPC endpoint and associate it with the private subnet route tables.
- Route its private subnet to a NAT gateway in a reachable public subnet.
Explanation
Correct Answer
B:A subnet is governed by its associated route table, not a similarly named unused table. Compare the route selected before and after reassociation.
Incorrect Answers
A:IGW attachment alone does not create an internet route for an individual subnet. Review the effective subnet association and intended longest-prefix destination routes. Compare the route selected before and after reassociation.
C:Gateway endpoints route eligible S3 traffic privately without NAT or internet gateways. Review the effective subnet association and intended longest-prefix destination routes. Compare the route selected before and after reassociation.
D:NAT enables IPv4 outbound internet sessions without assigning the instance a public address. Review the effective subnet association and intended longest-prefix destination routes. Compare the route selected before and after reassociation.
Question 86
A security team wants separate network zones for web, application, and database traffic in one VPC. Which foundation provides that isolation?
- Add an S3 gateway VPC endpoint and associate it with the private subnet route tables.
- Place database instances in isolated private subnets and allow only application security-group sources.
- Use dedicated subnets, route tables and tier-specific security groups across AZs.
- Place the ALB in public subnets and application targets in private subnets across AZs.
Explanation
Correct Answer
C:Network tiers allow independent routing and inbound policy boundaries. Trace each approved and forbidden tier-to-tier flow.
Incorrect Answers
A:Gateway endpoints route eligible S3 traffic privately without NAT or internet gateways. Use dedicated subnets, route tables and tier-specific security groups across AZs. Trace each approved and forbidden tier-to-tier flow.
B:Database segregation minimizes public ingress and lateral exposure. Use dedicated subnets, route tables and tier-specific security groups across AZs. Trace each approved and forbidden tier-to-tier flow.
D:Internet entry points can forward to private targets without exposing their instances directly. Use dedicated subnets, route tables and tier-specific security groups across AZs. Trace each approved and forbidden tier-to-tier flow.
Question 87
A private IPv6 workload must initiate outbound connections but cannot accept unsolicited inbound IPv6. Which gateway design fits?
- Use an egress-only internet gateway with an IPv6 default route for outbound traffic.
- Add the appropriate default route through the attached internet gateway and configure public addressing.
- Add an S3 gateway VPC endpoint and associate it with the private subnet route tables.
- Place the ALB in public subnets and application targets in private subnets across AZs.
Explanation
Correct Answer
A:Egress-only internet gateways support outbound-initiated IPv6 connections in VPCs. Test an outbound session and a failed unsolicited external initiation.
Incorrect Answers
B:IGW attachment alone does not create an internet route for an individual subnet. Use an egress-only internet gateway with an IPv6 default route for outbound traffic. Test an outbound session and a failed unsolicited external initiation.
C:Gateway endpoints route eligible S3 traffic privately without NAT or internet gateways. Use an egress-only internet gateway with an IPv6 default route for outbound traffic. Test an outbound session and a failed unsolicited external initiation.
D:Internet entry points can forward to private targets without exposing their instances directly. Egress-only internet gateways support outbound-initiated IPv6 connections in VPCs.
Question 88
A private application subnet is attached to a NAT gateway, yet S3 access still traverses the public NAT path. What private path should be preferred?
- Add the appropriate default route through the attached internet gateway and configure public addressing.
- Route its private subnet to a NAT gateway in a reachable public subnet.
- Add an S3 gateway VPC endpoint and associate it with the private subnet route tables.
- Place the ALB in public subnets and application targets in private subnets across AZs.
Explanation
Correct Answer
C:Gateway endpoints route eligible S3 traffic privately without NAT or internet gateways. Inspect routes and VPC Flow Logs for the new S3 path.
Incorrect Answers
A:IGW attachment alone does not create an internet route for an individual subnet. Add an S3 gateway VPC endpoint and associate it with the private subnet route tables. Inspect routes and VPC Flow Logs for the new S3 path.
B:NAT enables IPv4 outbound internet sessions without assigning the instance a public address. Add an S3 gateway VPC endpoint and associate it with the private subnet route tables. Inspect routes and VPC Flow Logs for the new S3 path.
D:Internet entry points can forward to private targets without exposing their instances directly. Gateway endpoints route eligible S3 traffic privately without NAT or internet gateways.
Question 89
A security group permits inbound TCP 443, but engineers think they must open ephemeral return ports in the same group. What principle applies?
- Compare effective attached security groups and existing connection state before retesting new sessions.
- Permit the required ephemeral return traffic in the relevant stateless NACL directions.
- Rely on security-group statefulness for return packets of allowed HTTPS connections.
- Use CIDR-based NACL entries or security-group references in security-group rules instead.
Explanation
Correct Answer
C:Security groups track eligible connection state and permit associated responses automatically. Test a client request and return flow through the same instance group.
Incorrect Answers
A:Security group evaluation combines rules from the instance's attached groups and tracks eligible state. Rely on security-group statefulness for return packets of allowed HTTPS connections. Test a client request and return flow through the same instance group.
B:Network ACLs evaluate ingress and egress separately and do not track connections. Rely on security-group statefulness for return packets of allowed HTTPS connections. Test a client request and return flow through the same instance group.
D:NACL conditions use IP ranges and ports; group references are a security-group feature. Rely on security-group statefulness for return packets of allowed HTTPS connections. Test a client request and return flow through the same instance group.
Question 90
An inbound NACL allows TCP 443 but returning internet traffic is blocked. What must the subnet rule set include?
- Permit the required ephemeral return traffic in the relevant stateless NACL directions.
- Create a numbered NACL deny rule for the unwanted source prefix.
- Rely on security-group statefulness for return packets of allowed HTTPS connections.
- Inspect ingress and egress NACL rules including destination and ephemeral response port ranges.
Explanation
Correct Answer
A:Network ACLs evaluate ingress and egress separately and do not track connections. Inspect subnet-level return-port allow rules and packet logs.
Incorrect Answers
B:NACL rules can explicitly deny selected CIDR ranges in numeric order. Permit the required ephemeral return traffic in the relevant stateless NACL directions. Inspect subnet-level return-port allow rules and packet logs.
C:Security groups track eligible connection state and permit associated responses automatically. Permit the required ephemeral return traffic in the relevant stateless NACL directions. Inspect subnet-level return-port allow rules and packet logs.
D:Stateless subnet ACLs must allow both halves of a TCP exchange. Permit the required ephemeral return traffic in the relevant stateless NACL directions. Inspect subnet-level return-port allow rules and packet logs.