DVA-C02 practice question · Security
A company wants Cognito to support a custom, non-password authentication flow, such as a one-time code sent via a…
A company wants Cognito to support a custom, non-password authentication flow, such as a one-time code sent via a third-party SMS provider or a custom challenge-response mechanism. What Cognito feature supports building this?
- ACustom authentication flow using Lambda triggers (Define Auth Challenge, Create Auth Challenge, Verify Auth Challenge Response)
- BCognito only ever supports username/password authentication, with no way to customize the flow
- CIAM Identity Center
- DS3 event notifications
Show the answer and explanation
Correct answer: A) Custom authentication flow using Lambda triggers (Define Auth Challenge, Create Auth Challenge, Verify Auth Challenge Response)
Why each option is right or wrong
- A) Correct. Cognito's custom auth flow lets you implement arbitrary challenge-response authentication logic across three coordinated Lambda triggers — one to decide what challenge to issue next, one to generate/send the challenge, and one to verify the response — enabling flows beyond the standard username/password or built-in MFA options.
- B) Incorrect. Cognito explicitly supports custom authentication flows via these Lambda triggers — this option is factually incorrect.
- C) Incorrect. IAM Identity Center is for internal workforce access to AWS accounts/business apps, a different service from customizing a customer-facing Cognito user pool's own auth challenge flow.
- D) Incorrect. S3 event notifications trigger on S3 object changes, entirely unrelated to Cognito's authentication challenge flow.
- Exam domain
- Security · 26% of DVA-C02
- Question type
- Multiple choice (one answer)
Related DVA-C02 questions
- A security team wants to be alerted automatically to unusual AWS API activity, such as a sudden spike in IAM policy…Security
- A developer is writing a custom AWS Lambda rotation function for an AWS Secrets Manager secret that stores credentials…Security
- A developer's application runs under an IAM role in a member account of an AWS Organizations organization.Security
- Which AWS service should a developer use to manage user sign-up, sign-in, and access control for a mobile or web…Security
All 67 free DVA-C02 questions by domain · 15 sample questions on one page
Practise the full DVA-C02 exam
This question is one of a small free sample from the CertRidge DVA-C02 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with AWS; never copied from the real exam.
Worth reading: DVA-C02 cheat sheet, Lambda, DynamoDB, API Gateway, IAM and Cognito, messaging, CI/CD and X-Ray in tables, plus what DVA-C03 changes.