Question 826 of 1,546
Networking and Content DeliveryhardMultiple ChoiceObjective-mapped

Quick Answer

The answer is the authenticate action using Amazon Cognito as the user pool. This is correct because the ALB authenticate action offloads the entire OAuth 2.0 and OpenID Connect flow to the load balancer, allowing it to broker authentication with an external IdP through Amazon Cognito without requiring custom code in the application. On the AWS Certified SysOps Administrator Associate SOA-C02 exam, this scenario tests your understanding of how to configure ALB authentication with Cognito for external IdP integration, often appearing as a scenario where you must choose between an authenticate action and a fixed-response or redirect action. A common trap is selecting a redirect action to the IdP directly, but the ALB must handle the token exchange itself via the authenticate action. Memory tip: think of the authenticate action as the ALB’s built-in security guard—it checks the ID at the door (Cognito) before letting traffic through to the target group.

SOA-C02 Networking and Content Delivery Practice Question

This SOA-C02 practice question tests your understanding of networking and content delivery. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company has a web application behind an Application Load Balancer (ALB) in a VPC. The application needs to authenticate users using an external identity provider (IdP). The SysOps Administrator recommends using Amazon Cognito as an identity broker. Which ALB action should be configured to authenticate users before forwarding requests to the target group?

Question 1hardmultiple choice
Full question →

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

An authenticate action using Amazon Cognito as the user pool.

Amazon Cognito integrates directly with Application Load Balancers via an authenticate action. When you configure an ALB rule with an authenticate action using a Cognito user pool, the ALB handles the OAuth 2.0 / OpenID Connect flow with the external IdP, obtains tokens, and only forwards authenticated requests to the target group. This eliminates the need for custom authentication logic in the application.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • An authenticate action using Amazon Cognito as the user pool.

    Why this is correct

    ALB supports an authenticate action that integrates with Cognito to handle user authentication.

    Related concept

    Read the scenario before looking for a memorised answer.

  • A fixed-response action to return a 401 status code.

    Why it's wrong here

    A fixed-response action returns a static response; it does not authenticate users.

  • A redirect action to the IdP login page.

    Why it's wrong here

    A redirect action just redirects the request; it does not perform authentication or verify tokens.

  • A forward action to the target group.

    Why it's wrong here

    A forward action forwards traffic without any authentication check.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates may think a simple redirect action (Option C) is sufficient, but they miss that the ALB must actively participate in the token exchange and validation, which only the authenticate action provides.

Detailed technical explanation

How to think about this question

Under the hood, the ALB authenticate action with Cognito initiates an OAuth 2.0 authorization code flow: the ALB redirects the user to Cognito's hosted UI (or a custom domain), Cognito authenticates against the external IdP via SAML or OIDC, and then Cognito returns an authorization code to the ALB. The ALB exchanges this code for tokens, sets a session cookie, and forwards the request with user claims in HTTP headers (e.g., x-amzn-oidc-accesstoken, x-amzn-oidc-identity) to the target group. This offloads token management from the application servers.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related SOA-C02 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free SOA-C02 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this SOA-C02 question test?

Networking and Content Delivery — This question tests Networking and Content Delivery — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: An authenticate action using Amazon Cognito as the user pool. — Amazon Cognito integrates directly with Application Load Balancers via an authenticate action. When you configure an ALB rule with an authenticate action using a Cognito user pool, the ALB handles the OAuth 2.0 / OpenID Connect flow with the external IdP, obtains tokens, and only forwards authenticated requests to the target group. This eliminates the need for custom authentication logic in the application.

What should I do if I get this SOA-C02 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More SOA-C02 practice questions

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This SOA-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 SOA-C02 exam.