Drag steps to the numbered slots on the right, or tap a step then tap a slot.
DOP-C02 SDLC Automation Practice Question
Drag and drop the steps to configure an AWS Elastic Load Balancer (ALB) with HTTPS listeners and target groups.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Create target group, Create ALB, Configure HTTPS listener, Register targets, Add redirect rule
First create the target group, then create the ALB, then configure HTTPS listener, then register targets, then add redirect rule.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Create target group, Create ALB, Configure HTTPS listener, Register targets, Add redirect rule
Why this is correct
This is the correct order because the target group must exist before creating the ALB, the HTTPS listener must be configured before registering targets, and the redirect rule is added last to finalize traffic routing.
- ✗
Create ALB, Create target group, Configure HTTPS listener, Register targets, Add redirect rule
Why it's wrong here
Creating the ALB before the target group violates the console's dependency flow: during the ALB creation wizard you must specify a default action that forwards to a target group, and that target group must already exist to be selectable. Without an existing target group, the ALB has no destination for the listener's default rule, so provisioning fails or the wizard forces you to create one inline. The correct sequence therefore starts with the target group.
- ✗
Create target group, Create ALB, Register targets, Configure HTTPS listener, Add redirect rule
Why it's wrong here
Registering targets before configuring the HTTPS listener is ineffective because a listener is the traffic entry point that forwards requests to the target group; until the listener exists, the registered instances are not part of any active request path. The HTTPS listener also carries the certificate and TLS decryption settings that determine how the ALB communicates with clients, and it must be created before targets are registered to establish the complete front-end to back-end path. Registering after listener creation ensures readiness checks and target health can be evaluated.
- ✗
Configure HTTPS listener, Create target group, Create ALB, Register targets, Add redirect rule
Why it's wrong here
A listener is an attached subresource of a load balancer, so you cannot create or configure an HTTPS listener without an existing ALB to own it; invoking listener creation first would fail because the ALB ARN does not exist. Additionally, the target group must be created before the ALB in the console flow because the ALB wizard asks you to choose a target group for its default action, and the listener then references that target group. Doing this step first breaks the dependency chain: ALB → target group → listener → registration → redirect rule.
Go deeper
Related to this question
About these practice questions
This DOP-C02 question is part of Courseiva's 1,013-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DOP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DOP-C02 exam.