DOP-C02 Domain 1: SDLC Automation

A public REST API’s Lambda now requires a language field in the JSON body. Only one production Lambda function should be maintained. Legacy clients omit language. How should the DevOps team deploy?

Multiple choice — select one answer

Answer choices

  1. a. Notation/Cosign with ECR and admission controls
  2. b. AWS CodeBuild with privileged mode only when needed
  3. c. IAM role with STS AssumeRole; refresh credentials on a schedule; install the CodeDeploy agent; register on-premises instances; tag-based deployment group.
  4. d. New API for clients that send language; add a mapping template on the existing API integration that injects "language": "English"; delete the old Lambda after cutover.

Architectural breakdown & explanation

Mapping templates add defaults on the legacy stage while a new API serves explicit language values.

Correct answer(s): d. New API for clients that send language; add a mapping template on the existing API integration that injects "language": "English"; delete the old Lambda after cutover.

Exam domain: Domain 1: SDLC Automation (22% weight on the official guide).

Official documentation & study links

Practice this certification

This page is one question from the AWS Certified DevOps Engineer – Professional bank. Run a full timed practice exam with domain-weighted random questions in your browser.