Question 180
A private application needs S3 access without routing through a NAT gateway. Which VPC component can provide that path?
- An S3 gateway endpoint with appropriate routes and policies
- A security group with all outbound traffic
- An internet gateway alone
- A bucket policy allowing the instance role
Explanation
Correct Answer
A:The gateway endpoint supplies a private service route for the associated route tables; IAM and bucket authorization still determine permitted object operations.
Incorrect Answers
B:Permitting packets does not create the service route required to avoid NAT for the private subnet.
C:A private instance without a suitable public path does not gain private S3 connectivity simply because the VPC has an internet gateway.
D:Authorization is required for object access, but a policy grant does not create the missing private route from the subnet to S3.
Question 181
An interface endpoint exists, but clients still resolve the public service address. Which configuration should be examined?
- Only the application role's permission boundary
- Only opening the endpoint security group to the client
- Private DNS and the VPC DNS settings
- Only the endpoint policy's allowed API actions
Explanation
Correct Answer
C:With supported private DNS enabled, ordinary service names can resolve to endpoint interfaces; endpoint creation alone does not guarantee the intended name-resolution path.
Incorrect Answers
A:An IAM ceiling can constrain service operations but cannot select which service IP addresses the client's DNS lookup returns.
B:Network permission matters after address resolution but cannot make the ordinary hostname return private endpoint addresses instead of public ones.
D:Authorization statements do not change the DNS answer or cause a public service hostname to resolve to the endpoint's private interfaces.
Question 182
Clients time out reaching an interface endpoint whose security group allows no ingress. What change is required?
- Increase the service API timeout indefinitely
- Permit the intended client traffic to the endpoint interfaces
- Enable private DNS while leaving endpoint ingress denied
- Grant the client AdministratorAccess
Explanation
Correct Answer
B:The endpoint has network interfaces governed by security groups; its service path still needs an allowed connection from the authorized clients.
Incorrect Answers
A:Waiting longer does not create an allowed network connection through a security group that rejects the traffic.
C:Correct name resolution points clients at the interfaces, but it does not permit their connections through the endpoint's restrictive security group.
D:IAM authority cannot bypass a packet-level security-group denial that prevents reaching the endpoint at all.
Question 183
An endpoint policy allows an S3 action, but the caller has no applicable permission grant. Does the endpoint policy alone grant access?
- Yes; every endpoint policy overrides IAM
- Yes; private IP addresses imply authorization
- Yes; the endpoint's private DNS setting grants the API action
- No; it is an additional access-control boundary
Explanation
Correct Answer
D:Endpoint policies constrain requests through the endpoint and do not replace the identity or resource permissions needed to authorize the operation.
Incorrect Answers
A:Allowing a path through an endpoint does not cancel explicit denies or independently supply every required service permission.
B:Network locality is not proof that a caller is permitted to read or modify the target service resource.
C:Name resolution selects the network destination and does not supply the caller's missing identity or resource-based permission grant.
Question 184
A third party exposes a service privately to consumer VPCs without full network peering. Which technology fits?
- AWS PrivateLink
- A public internet gateway only
- A VPC peering connection with unrestricted route propagation
- A transit gateway with every route propagated
Explanation
Correct Answer
A:Interface endpoints expose the supported service privately without granting broad routed access between the providers' and consumers' entire networks.
Incorrect Answers
B:An internet route exposes a public path rather than the requested private service-specific connectivity model.
C:Peering can expose broader routed connectivity and is not the requested service-specific model that avoids full network peering.
D:Broad routing can connect whole networks and is a different scope from exposing one service without full network access.
Question 185
Network Firewall sees only one direction of a stateful connection. What routing property should be corrected?
- Symmetric routing through the intended inspection path
- Only enabling additional firewall log retention
- Only adding more stateful allow rules
- Only increasing the stateful connection timeout
Explanation
Correct Answer
A:Stateful inspection needs both directions to traverse the relevant firewall path; asymmetric routes can prevent correct flow tracking and enforcement.
Incorrect Answers
B:More durable evidence can aid diagnosis but does not make request and response traffic traverse a symmetric inspection route.
C:Allow statements cannot repair missing bidirectional visibility caused by asymmetric routing outside the intended stateful inspection path.
D:A longer timeout cannot make a firewall observe return packets routed through a different inspection endpoint or path.
Question 186
A Network Firewall policy's stateless rules pass traffic directly. Why might its stateful rules not inspect that traffic?
- The subnet has no public IP
- Stateful rules inspect every packet regardless of earlier action
- The stateless action bypasses forwarding to the stateful engine
- The firewall name is too short
Explanation
Correct Answer
C:Traffic must be directed into the stateful processing path when that inspection is required; a direct pass can end evaluation earlier.
Incorrect Answers
A:Address exposure does not by itself explain bypass of the configured stateful engine after a stateless pass action.
B:The policy's processing path matters, so assuming unconditional stateful inspection overlooks the configured stateless action.
D:Resource naming does not determine whether packets are forwarded from stateless processing into stateful inspection.
Question 187
An application must connect to on-premises systems over an encrypted internet tunnel. Which service is appropriate?
- A security group reference
- An S3 gateway endpoint
- AWS Site-to-Site VPN
- Direct Connect alone without encryption
Explanation
Correct Answer
C:IPsec tunnels protect traffic between the configured network endpoints, with routes and tunnel availability designed for the intended hybrid connectivity.
Incorrect Answers
A:Security-group permissions do not create a hybrid tunnel or encrypt packets between the AWS and on-premises gateways.
B:That endpoint supplies a service-specific S3 path and does not establish an encrypted tunnel to an arbitrary on-premises network.
D:A dedicated circuit is not automatically equivalent to an encrypted IPsec tunnel over the internet.
Question 188
An organization uses Direct Connect and requires encryption. Which assumption must be rejected?
- A dedicated circuit is automatically encrypted end to end
- Redundancy requires planning
- Routing must still be configured
- Application TLS can add protection
Explanation
Correct Answer
A:Private connectivity and encryption are separate properties; appropriate MACsec or VPN protection depends on supported connections and the required encryption scope.
Incorrect Answers
B:Availability design remains necessary and does not claim that the circuit automatically provides the requested encryption.
C:The requirement for routing remains true; it does not represent the incorrect assumption about confidentiality on the dedicated link.
D:TLS can protect application traffic and is compatible with recognizing that the underlying dedicated connection is not inherently end-to-end encrypted.
Question 189
A supported Direct Connect link uses MACsec. What scope does this primarily protect?
- All unrelated internet sessions
- Every application database record indefinitely
- The supported Ethernet link segment
- Every stored EBS block
Explanation
Correct Answer
C:MACsec secures the link where configured; it should not be described as automatic encryption across every downstream application hop and external network.
Incorrect Answers
A:MACsec on one supported connection does not encrypt arbitrary traffic paths that do not traverse that protected link.
B:Transport protection does not control how applications store records after traffic reaches its destination.
D:Link-layer encryption does not replace disk encryption for data at rest on compute volumes.
Question 190
A VPC peering connection exists, but one side's route table lacks the remote CIDR. What must be changed?
- Add only a security-group allow for the remote CIDR
- Add the required route through the peering connection
- Enable only private DNS resolution on the peering connection
- Increase only the application connection timeout
Explanation
Correct Answer
B:Peering establishes a relationship, but each direction still needs an appropriate route and compatible security controls for the intended traffic.
Incorrect Answers
A:Packet permission cannot substitute for the missing route that tells the subnet to use the peering connection for that destination.
C:DNS options can help resolve names, but they do not install the missing route needed to forward packets to the remote CIDR.
D:Waiting longer cannot create a forwarding entry for the remote range when the subnet route table has no matching peering route.