Skip to main content

DVA-C02 practice question · Development with AWS Services

A team wants to add cross-cutting functionality to their Lambda functions — like sending telemetry to a third-party…

A team wants to add cross-cutting functionality to their Lambda functions — like sending telemetry to a third-party observability tool — without modifying every function's own handler code. What Lambda feature is designed for this kind of external tooling integration?

  • ALambda extensions
  • BLambda layers, used exclusively for shared business logic code
  • CReserved concurrency
  • DProvisioned concurrency
Show the answer and explanation

Correct answer: A) Lambda extensions

Why each option is right or wrong

  • A) Correct. Extensions run alongside the function in its execution environment and can hook into its lifecycle (init, invoke, shutdown) to add capabilities like telemetry collection or security monitoring, without requiring changes to the function's own handler code.
  • B) Incorrect. Layers primarily package shared code/dependencies used by handler logic; extensions specifically target this kind of external tooling/observability integration operating alongside (not as part of) the handler's own code.
  • C) Incorrect. Reserved concurrency caps simultaneous executions; it has nothing to do with adding external tooling integrations to a function.
  • D) Incorrect. Provisioned concurrency reduces cold starts by pre-initializing environments; it isn't the mechanism for integrating external observability tooling.
Exam domain
Development with AWS Services · 32% of DVA-C02
Question type
Multiple choice (one answer)

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.