Question 50
An application is hosted on IP addresses outside the ALB's VPC and reachable across connected networks. What target registration type is appropriate?
- Use an ALB forward action with weighted target groups
- Review client IP preservation settings for the NLB target group and protocol
- Register IP addresses in an ALB target group
- Provision an internal load balancer in suitable private subnets
Explanation
Correct Answer
C:IP target groups support specified reachable private addresses instead of requiring each target to be an EC2 instance ID.
Incorrect Answers
A:Listener forward actions distribute matching HTTP requests across target groups by configured weights; that addresses application traffic canary at an existing load-balancer listener, rather than balancing to reachable IP-based backends.
B:Client IP behavior depends on target type and protocol, so the target-group setting determines whether source identity survives forwarding; this belongs to preservation of caller source addresses through L4 balancing, while the problem is balancing to reachable IP-based backends.
D:In the private-facing load balancing endpoint workflow, an internal load balancer exposes private addresses for callers with VPC or connected-network routes; the current case needs balancing to reachable IP-based backends.
Question 51
A team deploys container services with dynamically assigned host ports. Which ALB integration avoids manually updating every port?
- Correct the target group's health-check port and path for the deployed application
- Enable ALB target-group stickiness with an appropriate cookie setting
- Select an Application Load Balancer target group that supports gRPC over HTTP/2
- Register containers through service-managed target-group integration with dynamic port mapping
Explanation
Correct Answer
D:The orchestrator registers current task or pod endpoints and ports so the listener follows changing container placements.
Incorrect Answers
A:ALB health-check requests must reach a serving endpoint with an accepted response; healthy processes alone do not satisfy incorrect checks; that addresses accurate listener-independent target health probing, rather than automatic backend membership for ephemeral container ports.
B:Cookie-based affinity keeps a user on a selected target for the configured duration while capacity and health constraints permit; this belongs to application-layer backend affinity, while the problem is automatic backend membership for ephemeral container ports.
C:ALB understands HTTP/2 and gRPC requests and provides corresponding routing and health-check behavior; this changes gRPC-aware application routing, not the necessary automatic backend membership for ephemeral container ports.
Question 52
An application requires session affinity so successive HTTP requests from a browser tend to reach the same backend. Which feature directly supports it?
- Register IP addresses in an ALB target group
- Select an Application Load Balancer target group that supports gRPC over HTTP/2
- Add an authenticate-oidc action to the ALB HTTPS listener rule
- Enable ALB target-group stickiness with an appropriate cookie setting
Explanation
Correct Answer
D:Cookie-based affinity keeps a user on a selected target for the configured duration while capacity and health constraints permit.
Incorrect Answers
A:IP target groups support specified reachable private addresses instead of requiring each target to be an EC2 instance ID; that addresses balancing to reachable IP-based backends, rather than application-layer backend affinity.
B:ALB understands HTTP/2 and gRPC requests and provides corresponding routing and health-check behavior; this belongs to gRPC-aware application routing, while the problem is application-layer backend affinity.
C:ALB can redirect and validate OIDC user authentication as part of a listener's HTTP request workflow; this changes authentication enforcement before HTTP target routing, not the necessary application-layer backend affinity.
Question 53
An internal gRPC service requires routing based on HTTP/2 request attributes. What class of AWS load balancing is suitable?
- Correct the target group's health-check port and path for the deployed application
- Use an Application Load Balancer with path-based HTTPS listener rules
- Enable ALB target-group stickiness with an appropriate cookie setting
- Select an Application Load Balancer target group that supports gRPC over HTTP/2
Explanation
Correct Answer
D:ALB understands HTTP/2 and gRPC requests and provides corresponding routing and health-check behavior. This supports gRPC-aware traffic management that cannot be provided by a load balancer limited to raw transport forwarding.
Incorrect Answers
A:ALB health-check requests must reach a serving endpoint with an accepted response; healthy processes alone do not satisfy incorrect checks; that addresses accurate listener-independent target health probing, rather than gRPC-aware application routing.
B:ALB inspects HTTP request attributes and can forward traffic to distinct target groups after TLS handling; this belongs to layer-seven path-directed routing, while the problem is gRPC-aware application routing.
C:Cookie-based affinity keeps a user on a selected target for the configured duration while capacity and health constraints permit; this changes application-layer backend affinity, not the necessary gRPC-aware application routing.
Question 54
An ALB has two target groups; new deployments should receive 5% of listener traffic without changing DNS. Which feature fits?
- Use an ALB forward action with weighted target groups
- Add an authenticate-oidc action to the ALB HTTPS listener rule
- Enable ALB target-group stickiness with an appropriate cookie setting
- Use an Application Load Balancer with path-based HTTPS listener rules
- Configure a Network Load Balancer with a UDP listener and compatible target group
Explanation
Correct Answer
A:Listener forward actions distribute matching HTTP requests across target groups by configured weights. Weighted forward actions can introduce a target fleet gradually without requiring DNS changes for the application hostname.
Incorrect Answers
B:ALB can redirect and validate OIDC user authentication as part of a listener's HTTP request workflow; this belongs to authentication enforcement before HTTP target routing, while the problem is application traffic canary at an existing load-balancer listener.
C:Cookie-based affinity keeps a user on a selected target for the configured duration while capacity and health constraints permit; this changes application-layer backend affinity, not the necessary application traffic canary at an existing load-balancer listener.
D:In the layer-seven path-directed routing workflow, ALB inspects HTTP request attributes and can forward traffic to distinct target groups after TLS handling; the current case needs application traffic canary at an existing load-balancer listener.
E:This produces balancing UDP telemetry packets: NLB supports UDP forwarding at layer four, whereas HTTP-oriented load balancing does not accept arbitrary UDP datagrams; the stem instead tests application traffic canary at an existing load-balancer listener.
Question 55
An Internet-facing app uses AWS WAF managed rules to block malicious HTTP patterns. Where should the web ACL attach?
- Associate the web ACL with the Application Load Balancer
- Configure a Network Load Balancer with a UDP listener and compatible target group
- Use an internet-facing Network Load Balancer with per-AZ static addresses or Elastic IPs
- Use an ALB forward action with weighted target groups
Explanation
Correct Answer
A:WAF integrates with ALB at the HTTP layer to inspect and filter requests before target forwarding. Managed or custom WAF rules operate before ALB sends eligible HTTP requests to application targets.
Incorrect Answers
B:NLB supports UDP forwarding at layer four, whereas HTTP-oriented load balancing does not accept arbitrary UDP datagrams; this belongs to balancing UDP telemetry packets, while the problem is HTTP application firewall enforcement on load-balanced requests.
C:NLB supports stable front-end IP addressing for transport services, independent of registered backend IP changes; this changes stable allowlisted IP addresses for TCP ingress, not the necessary HTTP application firewall enforcement on load-balanced requests.
D:In the application traffic canary at an existing load-balancer listener workflow, listener forward actions distribute matching HTTP requests across target groups by configured weights; the current case needs HTTP application firewall enforcement on load-balanced requests.
Question 56
A database-compatible TCP service must expose static public IPs that clients can allowlist, while healthy targets change. Which option provides that behavior?
- Configure a Network Load Balancer with a UDP listener and compatible target group
- Register IP addresses in an ALB target group
- Provision an internal load balancer in suitable private subnets
- Use an internet-facing Network Load Balancer with per-AZ static addresses or Elastic IPs
Explanation
Correct Answer
D:NLB supports stable front-end IP addressing for transport services, independent of registered backend IP changes.
Incorrect Answers
A:NLB supports UDP forwarding at layer four, whereas HTTP-oriented load balancing does not accept arbitrary UDP datagrams; that addresses balancing UDP telemetry packets, rather than stable allowlisted IP addresses for TCP ingress.
B:IP target groups support specified reachable private addresses instead of requiring each target to be an EC2 instance ID; this belongs to balancing to reachable IP-based backends, while the problem is stable allowlisted IP addresses for TCP ingress.
C:An internal load balancer exposes private addresses for callers with VPC or connected-network routes; this changes private-facing load balancing endpoint, not the necessary stable allowlisted IP addresses for TCP ingress.
Question 57
A UDP telemetry collector must spread traffic across EC2 targets. Which AWS load balancer can accept the protocol?
- Use an internet-facing Network Load Balancer with per-AZ static addresses or Elastic IPs
- Use a Gateway Load Balancer with an appliance target group and GENEVE encapsulation
- Review client IP preservation settings for the NLB target group and protocol
- Configure a Network Load Balancer with a UDP listener and compatible target group
Explanation
Correct Answer
D:NLB supports UDP forwarding at layer four, whereas HTTP-oriented load balancing does not accept arbitrary UDP datagrams.
Incorrect Answers
A:NLB supports stable front-end IP addressing for transport services, independent of registered backend IP changes; that addresses stable allowlisted IP addresses for TCP ingress, rather than balancing UDP telemetry packets.
B:GWLB forwards flows to virtual appliances through GENEVE while preserving transparent inline inspection architecture; this belongs to insertion of third-party packet inspection appliances, while the problem is balancing UDP telemetry packets.
C:Client IP behavior depends on target type and protocol, so the target-group setting determines whether source identity survives forwarding; this changes preservation of caller source addresses through L4 balancing, not the necessary balancing UDP telemetry packets.
Question 58
An ALB needs to authenticate browser users against an OpenID Connect identity provider before requests reach targets. Which built-in feature helps?
- Use an ALB forward action with weighted target groups
- Associate the web ACL with the Application Load Balancer
- Add an authenticate-oidc action to the ALB HTTPS listener rule
- Review client IP preservation settings for the NLB target group and protocol
- Enable ALB target-group stickiness with an appropriate cookie setting
- Use an Application Load Balancer with path-based HTTPS listener rules
Explanation
Correct Answer
C:ALB can redirect and validate OIDC user authentication as part of a listener's HTTP request workflow. Authentication listener actions can redirect unauthenticated browsers to a supported identity provider before forwarding to targets.
Incorrect Answers
A:Listener forward actions distribute matching HTTP requests across target groups by configured weights; that addresses application traffic canary at an existing load-balancer listener, rather than authentication enforcement before HTTP target routing.
B:WAF integrates with ALB at the HTTP layer to inspect and filter requests before target forwarding; this belongs to HTTP application firewall enforcement on load-balanced requests, while the problem is authentication enforcement before HTTP target routing.
D:In the preservation of caller source addresses through L4 balancing workflow, client IP behavior depends on target type and protocol, so the target-group setting determines whether source identity survives forwarding; the current case needs authentication enforcement before HTTP target routing.
E:This produces application-layer backend affinity: Cookie-based affinity keeps a user on a selected target for the configured duration while capacity and health constraints permit; the stem instead tests authentication enforcement before HTTP target routing.
F:For layer-seven path-directed routing, ALB inspects HTTP request attributes and can forward traffic to distinct target groups after TLS handling; however, the present requirement is authentication enforcement before HTTP target routing.
Question 59
A Kubernetes ingress controller should automatically provision ALB resources from Kubernetes Ingress objects. Which integration enables this?
- Configure a Network Load Balancer with a UDP listener and compatible target group
- Use an ALB forward action with weighted target groups
- Install and configure the AWS Load Balancer Controller in the EKS cluster
- Select an Application Load Balancer target group that supports gRPC over HTTP/2
Explanation
Correct Answer
C:The controller reconciles Kubernetes resources with corresponding AWS load balancer, listener, and target-group configuration.
Incorrect Answers
A:NLB supports UDP forwarding at layer four, whereas HTTP-oriented load balancing does not accept arbitrary UDP datagrams; that addresses balancing UDP telemetry packets, rather than declarative Kubernetes-managed ALB provisioning.
B:Listener forward actions distribute matching HTTP requests across target groups by configured weights; this belongs to application traffic canary at an existing load-balancer listener, while the problem is declarative Kubernetes-managed ALB provisioning.
D:In the gRPC-aware application routing workflow, ALB understands HTTP/2 and gRPC requests and provides corresponding routing and health-check behavior; the current case needs declarative Kubernetes-managed ALB provisioning.
Question 60
An ALB-backed API needs canary delivery to a new target fleet, and its target group still health-checks a retired application port. Which TWO ALB target-group or listener controls implement these needs? Choose TWO.
- Use an internet-facing Network Load Balancer with per-AZ static addresses or Elastic IPs
- Configure ALB host-header listener conditions
- Correct the target group's health-check port and path for the deployed application
- Configure an NLB TLS listener with an ACM certificate
- Use an ALB forward action with weighted target groups
Explanation
Correct Answers
C:ALB health-check requests must reach a serving endpoint with an accepted response; healthy processes alone do not satisfy incorrect checks; this covers the accurate listener-independent target health probing component of the combined scenario.
E:Listener forward actions distribute matching HTTP requests across target groups by configured weights; this covers the application traffic canary at an existing load-balancer listener component of the combined scenario.
Incorrect Answers
A:NLB supports stable front-end IP addressing for transport services, independent of registered backend IP changes; that addresses stable allowlisted IP addresses for TCP ingress, rather than ALB weighted canary routing and corrected health checks.
B:Host-based rules inspect the HTTP Host header so multiple domains can share an ALB without sharing backends; this belongs to request dispatch based on HTTP hostname, while the problem is ALB weighted canary routing and corrected health checks.
D:In the centrally managed TLS termination at network ingress workflow, NLB TLS listeners terminate TLS at the load balancer using configured certificates while forwarding to supported target protocols; the current case needs ALB weighted canary routing and corrected health checks.