0
0
AWScloud~20 mins

Target groups concept in AWS - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Target Group Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Target Group Health Checks

What happens when a target in an AWS target group fails its health check?

AThe load balancer stops sending traffic to that target until it passes health checks again.
BThe target is permanently removed from the target group and must be re-registered manually.
CThe load balancer redirects traffic to the failing target to test recovery.
DThe target group automatically scales up to replace the failing target.
Attempts:
2 left
💡 Hint

Think about how a load balancer keeps your app healthy by avoiding bad servers.

Architecture
intermediate
2:00remaining
Target Group and Load Balancer Association

Which statement correctly describes how target groups are used with an Application Load Balancer (ALB)?

ATarget groups are used only for Network Load Balancers, not ALBs.
BEach target group can only be associated with one ALB at a time.
CAn ALB routes incoming traffic to one or more target groups based on listener rules.
DAn ALB sends traffic directly to EC2 instances without using target groups.
Attempts:
2 left
💡 Hint

Consider how ALB directs traffic based on rules and groups of servers.

Configuration
advanced
2:00remaining
Target Group Health Check Configuration Impact

Given this target group health check configuration:

Health check path: /status
Healthy threshold: 3
Unhealthy threshold: 2
Interval: 10 seconds
Timeout: 5 seconds

What is the minimum time before a target is marked unhealthy after it starts failing health checks?

A20 seconds
B10 seconds
C15 seconds
D30 seconds
Attempts:
2 left
💡 Hint

Calculate using the unhealthy threshold and interval values.

security
advanced
2:00remaining
Security Group Rules for Target Groups

You have an ALB and a target group with EC2 instances. Which security group rule is necessary for the EC2 instances to receive traffic from the ALB?

AAllow inbound traffic from anywhere on all ports.
BAllow inbound traffic on the target port from the ALB's security group.
CAllow outbound traffic to the ALB's IP addresses.
DAllow inbound traffic only from the internet gateway.
Attempts:
2 left
💡 Hint

Think about how security groups reference each other for controlled access.

service_behavior
expert
2:00remaining
Target Group Deregistration Delay Effect

An EC2 instance is deregistered from a target group with a deregistration delay of 300 seconds. What happens to in-flight requests during this delay?

AThe load balancer sends requests to the instance only if it passes health checks during the delay.
BThe load balancer immediately stops sending requests, and in-flight requests are terminated.
CThe instance is removed instantly, and traffic is routed to other targets without delay.
DThe load balancer stops sending new requests to the instance but allows in-flight requests to complete during the delay.
Attempts:
2 left
💡 Hint

Consider how deregistration delay helps graceful shutdown.