AWS - Elastic Load BalancingYou want to distribute traffic to EC2 instances and IP addresses in the same target group. What must you consider?ATarget groups support either instance or IP targets, but not both together.BYou can mix instance and IP targets freely in one target group.CYou must create separate target groups for instances and IPs and attach both to the load balancer.DYou can register IP targets only if they are in the same subnet as instances.Check Answer
Step-by-Step SolutionSolution:Step 1: Understand target type restrictionsAWS target groups require you to choose a target type: instance, IP, or Lambda. Mixing instance and IP targets in one group is not allowed.Step 2: Identify correct approachTo use both types, create separate target groups and attach them to the load balancer.Final Answer:Target groups support either instance or IP targets, but not both together. -> Option AQuick Check:Target group target types are exclusive [OK]Quick Trick: Target groups accept only one target type at a time [OK]Common Mistakes:Trying to mix instance and IP targets in one groupAssuming IP targets must be in same subnetNot creating separate target groups for different types
Master "Elastic Load Balancing" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes AWS Lambda - Creating a Lambda function - Quiz 1easy Auto Scaling - Scaling policies (target tracking, step, simple) - Quiz 8hard Auto Scaling - Launch templates - Quiz 7medium CloudWatch - Default vs custom metrics - Quiz 7medium CloudWatch - Default vs custom metrics - Quiz 1easy DynamoDB - Tables, items, and attributes - Quiz 12easy DynamoDB - Secondary indexes (GSI, LSI) - Quiz 3easy DynamoDB - Time to live (TTL) for expiration - Quiz 13medium Elastic Load Balancing - Network Load Balancer (NLB) - Quiz 11easy SNS and SQS - SQS queue concept - Quiz 8hard