Question 370

A response team wants to learn which IAM role disabled a VPC flow log shortly before an incident. Where can this action be investigated?

  1. Record supported endpoint configurations with AWS Config and API changes with CloudTrail
  2. Query CloudTrail for the relevant networking-configuration API action and caller identity
  3. Grant the flow-log delivery role the required CloudWatch Logs write permissions
  4. Examine CloudTrail events for the delete or update flow-log API action and its principal

Explanation

Correct Answer

D:

Administrative deletion is a control-plane operation and appears in audit events, not inside the removed flow-log stream itself.

Incorrect Answers

A:

Resource history captures posture while control-plane event records associate modifications with specific authenticated callers; that addresses auditable private endpoint policy changes, rather than investigation of log-tampering administration events.

B:

CloudTrail records supported network control-plane API calls and actor metadata, unlike per-packet flow logs; this belongs to principal attribution for transit route modifications, while the problem is investigation of log-tampering administration events.

C:

Delivery configuration and IAM authorization must both allow log-stream creation and event publication; this changes authorized publication of VPC flow telemetry, not the necessary investigation of log-tampering administration events.

Question 371

A customer assumes all packets on a private Direct Connect virtual interface are automatically encrypted with IPsec. What design change is needed for mandatory network-layer confidentiality?

  1. Add supported Site-to-Site VPN over the Direct Connect path or another explicitly approved encryption layer
  2. Keep application TLS authentication in addition to the IPsec tunnel where endpoint identity is required
  3. Confirm the Direct Connect connection type, port speed, device compatibility, and location support for MACsec
  4. Configure AWS Site-to-Site VPN with supported IKE and IPsec parameters

Explanation

Correct Answer

A:

Private transport and IPsec encryption are different protections; Direct Connect alone does not imply an IPsec tunnel.

Incorrect Answers

B:

IPsec protects between network gateways, while application TLS validates the service endpoint and protects data beyond the tunnel termination; this belongs to complementary network-layer and application-layer trust, while the problem is cryptographic confidentiality of hybrid private-line packets.

C:

MACsec encrypts supported Ethernet links, but eligibility and configuration prerequisites differ from universally available IPsec VPN; this changes link-layer confidentiality on supported Direct Connect physical connections, not the necessary cryptographic confidentiality of hybrid private-line packets.

D:

In the network-wide IPsec encryption across corporate connectivity workflow, site-to-Site VPN encrypts network-layer traffic between tunnel endpoints, protecting many routed applications without per-service proxying; the current case needs cryptographic confidentiality of hybrid private-line packets.

Question 372

A company must secure web clients' traffic to an ALB using a certificate managed by AWS. Which configuration fits?

  1. Attach an ACM-issued or imported certificate to the ALB HTTPS listener
  2. Configure an HTTPS target group and compatible target certificates or listeners for backend encryption
  3. Serve a certificate trusted by intended clients with a hostname matching the requested endpoint
  4. Configure ALB mutual TLS with the appropriate trust store and verification settings

Explanation

Correct Answer

A:

An HTTPS listener negotiates TLS with clients using a configured certificate, protecting the client-to-ALB hop.

Incorrect Answers

B:

TLS termination at the ALB does not guarantee encryption on the second hop; the target connection must independently use HTTPS; this belongs to encryption on both sides of an application load balancer, while the problem is TLS encryption from browser to application ingress.

C:

TLS encryption alone does not establish endpoint identity; browsers validate both trusted issuer and subject name; this changes authenticated browser TLS with valid public trust chain, not the necessary TLS encryption from browser to application ingress.

D:

In the certificate-based client authentication at HTTP ingress workflow, mutual TLS lets the listener validate a client's presented certificate against the configured trust material before HTTP forwarding; the current case needs TLS encryption from browser to application ingress.

Question 373

An HTTPS ALB terminates TLS but forwards plain HTTP to targets, violating an encryption-in-transit policy. Which change is required?

  1. Configure an HTTPS target group and compatible target certificates or listeners for backend encryption
  2. Add an S3 bucket policy denying requests when the secure-transport condition is false
  3. Choose CloudFront HTTPS-only viewer protocol policy
  4. Define a TLS listener with an ACM certificate on Network Load Balancer

Explanation

Correct Answer

A:

TLS termination at the ALB does not guarantee encryption on the second hop; the target connection must independently use HTTPS.

Incorrect Answers

B:

The secure-transport condition can reject unencrypted HTTP requests at the resource boundary independently of IAM authentication; this belongs to server-side enforcement of HTTPS for object access, while the problem is encryption on both sides of an application load balancer.

C:

HTTPS-only rejects unencrypted viewer requests rather than silently accepting HTTP access; this changes enforcement of encrypted CDN viewer transport, not the necessary encryption on both sides of an application load balancer.

D:

In the centralized TLS termination for a network load balancer workflow, an NLB TLS listener performs managed handshake termination on the front-end, separate from raw TCP passthrough; the current case needs encryption on both sides of an application load balancer.

Question 374

One Network Load Balancer TLS listener on port 443 fronts applications named api.example.com and files.example.com. The TLS listener already has a default ACM certificate, but clients must receive hostname-specific certificates on the same listener. Which configuration provides this?

  1. Create separate TCP listeners on port 443, one for each hostname, without TLS certificate lists
  2. Add the additional ACM certificates to the NLB TLS listener certificate list and use SNI-based selection
  3. Create Route 53 weighted records that route different hostnames to the same NLB IP address
  4. Use a network ACL rule keyed to the requested TLS SNI hostname
  5. Enable ALB host-based listener rules on the existing Network Load Balancer TLS listener
  6. Keep the default certificate only and rely on the NLB to automatically retrieve other ACM certificates for matching names

Explanation

Correct Answer

B:

NLB TLS listeners support a certificate list in addition to the default certificate. The TLS SNI hostname lets the load balancer choose an appropriate matching certificate on the shared listener.

Incorrect Answers

A:

A listener cannot be duplicated on the same port and protocol to select certificates by hostname. Raw TCP pass-through leaves certificate presentation to the backend.

C:

DNS records affect how names resolve to endpoints, but they do not configure the TLS listener with separate certificates or perform SNI-based selection during a connection.

D:

Subnet network ACLs match network addresses, IP protocol and ports, not TLS SNI hostnames inside the connection handshake. They cannot choose server certificates.

E:

An NLB does not support ALB-style HTTP Host header routing. The TLS SNI extension, rather than an HTTP listener condition, chooses among certificates associated with an NLB TLS listener.

F:

The NLB selects only from the default and explicitly configured additional listener certificates. A matching ACM certificate is not automatically attached solely because it exists in the account.

Question 375

A compliance requirement mandates that the target process receive the original client TLS handshake itself. What transport decision is appropriate?

  1. Attach an ACM-issued or imported certificate to the ALB HTTPS listener
  2. Forward raw TCP through NLB and let the application terminate TLS
  3. Keep application TLS authentication in addition to the IPsec tunnel where endpoint identity is required
  4. Enforce TLS on the target connection and use appropriate application certificate validation
  5. Define a TLS listener with an ACM certificate on Network Load Balancer

Explanation

Correct Answer

B:

A TCP listener does not act as an application TLS endpoint, preserving end-to-end negotiation with the backend.

Incorrect Answers

A:

An HTTPS listener negotiates TLS with clients using a configured certificate, protecting the client-to-ALB hop; that addresses TLS encryption from browser to application ingress, rather than application-owned certificate and TLS endpoint.

C:

IPsec protects between network gateways, while application TLS validates the service endpoint and protects data beyond the tunnel termination; this changes complementary network-layer and application-layer trust, not the necessary application-owned certificate and TLS endpoint.

D:

In the protected backend network hop for sensitive request payloads workflow, end-to-end transit protection requires consideration of both listener and target segments rather than securing just the public listener; the current case needs application-owned certificate and TLS endpoint.

E:

This produces centralized TLS termination for a network load balancer: An NLB TLS listener performs managed handshake termination on the front-end, separate from raw TCP passthrough; the stem instead tests application-owned certificate and TLS endpoint.

Question 376

A service exposed through CloudFront needs encrypted viewer connections and must reject plain HTTP requests. Which viewer policy should be selected?

  1. Configure an HTTPS target group and compatible target certificates or listeners for backend encryption
  2. Add an S3 bucket policy denying requests when the secure-transport condition is false
  3. Choose CloudFront HTTPS-only viewer protocol policy
  4. Set the CloudFront custom origin protocol policy to HTTPS only and ensure the origin certificate is valid

Explanation

Correct Answer

C:

HTTPS-only rejects unencrypted viewer requests rather than silently accepting HTTP access. Redirect HTTP to HTTPS is a different viewer policy; HTTPS-only rejects unencrypted requests rather than redirecting them.

Incorrect Answers

A:

TLS termination at the ALB does not guarantee encryption on the second hop; the target connection must independently use HTTPS; that addresses encryption on both sides of an application load balancer, rather than enforcement of encrypted CDN viewer transport.

B:

The secure-transport condition can reject unencrypted HTTP requests at the resource boundary independently of IAM authentication; this belongs to server-side enforcement of HTTPS for object access, while the problem is enforcement of encrypted CDN viewer transport.

D:

In the HTTPS protection from CDN to custom origin workflow, cloudFront-to-origin TLS is configured separately from viewer TLS, and the origin must support a trusted TLS handshake; the current case needs enforcement of encrypted CDN viewer transport.

Question 377

CloudFront already uses HTTPS to a custom origin. Viewers now receive 502 errors after an origin certificate replacement, and the new certificate has no SAN matching the origin domain; the viewer Host header is not forwarded. What must be repaired?

  1. Change the distribution viewer protocol policy from HTTPS-only to Redirect HTTP to HTTPS
  2. Lower the minimum TLS version for viewers without changing the origin certificate
  3. Install an origin certificate from a trusted CA whose name matches the configured CloudFront origin domain
  4. Keep the mismatched certificate but configure a longer CloudFront origin connection timeout

Explanation

Correct Answer

C:

CloudFront validates the certificate presented by an HTTPS custom origin against the origin domain name, or a forwarded Host header when configured. With no matching name, TLS negotiation fails and CloudFront returns 502.

Incorrect Answers

A:

The viewer protocol policy controls the client-to-CloudFront hop; it does not repair an invalid certificate presented by the custom origin.

B:

Viewer TLS policy is not the cause. The certificate name mismatch occurs during the CloudFront-to-origin handshake.

D:

The TLS name check rejects the certificate; a longer timeout cannot turn a name mismatch into a trusted certificate.

Question 378

A private API must authenticate mutual TLS clients by certificates at an application load balancer. Which ALB feature applies?

  1. Define a TLS listener with an ACM certificate on Network Load Balancer
  2. Attach an ACM-issued or imported certificate to the ALB HTTPS listener
  3. Configure ALB mutual TLS with the appropriate trust store and verification settings
  4. Use AWS Private Certificate Authority with AWS Certificate Manager integration

Explanation

Correct Answer

C:

Mutual TLS lets the listener validate a client's presented certificate against the configured trust material before HTTP forwarding.

Incorrect Answers

A:

An NLB TLS listener performs managed handshake termination on the front-end, separate from raw TCP passthrough; that addresses centralized TLS termination for a network load balancer, rather than certificate-based client authentication at HTTP ingress.

B:

An HTTPS listener negotiates TLS with clients using a configured certificate, protecting the client-to-ALB hop; this belongs to TLS encryption from browser to application ingress, while the problem is certificate-based client authentication at HTTP ingress.

D:

In the managed private PKI for internal service TLS workflow, private CA creates organization-controlled certificate hierarchies for internal identities, unlike public certificate issuance tied to publicly validated domains; the current case needs certificate-based client authentication at HTTP ingress.

Question 379

An internal organization issues TLS certificates to private DNS hostnames. Which AWS service is designed to issue private certificates?

  1. Use controlled private-certificate issuance, renewal, deployment, and revocation procedures
  2. Use eligible ACM public certificates with managed renewal on integrated services
  3. Implement mutual TLS at a compatible ingress or the service itself, with trusted client CA material
  4. Use AWS Private Certificate Authority with AWS Certificate Manager integration

Explanation

Correct Answer

D:

Private CA creates organization-controlled certificate hierarchies for internal identities, unlike public certificate issuance tied to publicly validated domains.

Incorrect Answers

A:

Private PKI ownership includes lifecycle operations; installing a certificate once is not enough to maintain trustworthy TLS identities; that addresses managed lifecycle of internal certificate credentials, rather than managed private PKI for internal service TLS.

B:

ACM automates issuance and renewal for supported domain-validated public certificates used by compatible AWS endpoints; this belongs to managed lifecycle of publicly trusted service certificates, while the problem is managed private PKI for internal service TLS.

C:

Mutual TLS authenticates both endpoints through certificates, whereas ordinary HTTPS primarily authenticates the server; this changes client identity verification during TLS establishment, not the necessary managed private PKI for internal service TLS.

Question 380

An application fleet must rotate public TLS certificates on supported AWS integrated services with minimal manual renewal work. Which management model is helpful?

  1. Configure AWS Site-to-Site VPN with supported IKE and IPsec parameters
  2. Use AWS Private Certificate Authority with AWS Certificate Manager integration
  3. Use controlled private-certificate issuance, renewal, deployment, and revocation procedures
  4. Use eligible ACM public certificates with managed renewal on integrated services

Explanation

Correct Answer

D:

ACM automates issuance and renewal for supported domain-validated public certificates used by compatible AWS endpoints.

Incorrect Answers

A:

Site-to-Site VPN encrypts network-layer traffic between tunnel endpoints, protecting many routed applications without per-service proxying; that addresses network-wide IPsec encryption across corporate connectivity, rather than managed lifecycle of publicly trusted service certificates.

B:

Private CA creates organization-controlled certificate hierarchies for internal identities, unlike public certificate issuance tied to publicly validated domains; this belongs to managed private PKI for internal service TLS, while the problem is managed lifecycle of publicly trusted service certificates.

C:

Private PKI ownership includes lifecycle operations; installing a certificate once is not enough to maintain trustworthy TLS identities; this changes managed lifecycle of internal certificate credentials, not the necessary managed lifecycle of publicly trusted service certificates.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests