Question 1,215 of 1,616
Development with AWS ServicesmediumMultiple ChoiceObjective-mapped

DVA-C02 Development with AWS Services Practice Question

This DVA-C02 practice question tests your understanding of development with aws services. 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. A key principle to apply: lambda proxy integration passes the entire request to the Lambda function.. 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 developer is building a serverless application using AWS Lambda and Amazon API Gateway. The API requires that the same Lambda function handle different HTTP methods (GET, POST, DELETE) for the same resource. The developer wants to minimize code and configuration. Which integration type should the developer use?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "minimum / minimize"

    Why it matters: Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.

Question 1mediummultiple 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

Lambda proxy integration

Lambda proxy integration (option A) is correct because it automatically passes the entire HTTP request (method, headers, query parameters, path parameters) to the Lambda function as a single event object, allowing the same function to inspect the `httpMethod` field and branch logic for GET, POST, DELETE without any additional API Gateway mapping or transformation configuration. This minimizes both code (the function handles routing internally) and configuration (no need to define separate integration requests/responses per method).

Key principle: Lambda proxy integration passes the entire request to the Lambda function.

Answer analysis

Option-by-option breakdown

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

  • Lambda proxy integration

    Why this is correct

    With proxy integration, the whole request is passed to Lambda, allowing the function to handle multiple methods with minimal API Gateway setup.

    Clue confirmation

    The clue word "minimum / minimize" in the question point toward this answer.

    Related concept

    Lambda proxy integration passes the entire request to the Lambda function.

  • Lambda custom integration

    Why it's wrong here

    Custom integration requires mapping templates and more configuration to transform requests and responses.

  • HTTP integration

    Why it's wrong here

    HTTP integration is for proxying to an HTTP endpoint, not directly to Lambda.

  • Mock integration

    Why it's wrong here

    Mock integration is used for testing and returns a static response without invoking a backend.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse 'custom integration' (option B) with 'proxy integration' (option A), mistakenly thinking custom integration offers more flexibility when in fact it requires more configuration and does not automatically pass the full request context.

Detailed technical explanation

How to think about this question

Under the hood, Lambda proxy integration sends the entire API Gateway event as a JSON payload to the Lambda function, including `httpMethod`, `headers`, `queryStringParameters`, `pathParameters`, and `body`. The Lambda function must return a response in the exact format `{ statusCode, headers, body }` for API Gateway to interpret correctly. A real-world scenario is building a RESTful CRUD API where a single Lambda function inspects `event.httpMethod` to route to create, read, update, or delete logic, reducing the number of Lambda functions and simplifying deployment.

KKey Concepts to Remember

  • Lambda proxy integration passes the entire request to the Lambda function.
  • The Lambda function is responsible for parsing the HTTP method and request details.
  • It significantly reduces API Gateway configuration overhead for multi-method resources.
  • API Gateway acts as a thin proxy, forwarding all request context to Lambda.

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

Lambda proxy integration passes the entire request to the Lambda function.

Real-world example

How this comes up in practice

A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

What to study next

Got this wrong? Here's your next step.

Review lambda proxy integration passes the entire request to the Lambda function., then practise related DVA-C02 questions on the same topic to reinforce the concept.

Related practice questions

Related DVA-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 DVA-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 DVA-C02 question test?

Development with AWS Services — This question tests Development with AWS Services — Lambda proxy integration passes the entire request to the Lambda function..

What is the correct answer to this question?

The correct answer is: Lambda proxy integration — Lambda proxy integration (option A) is correct because it automatically passes the entire HTTP request (method, headers, query parameters, path parameters) to the Lambda function as a single event object, allowing the same function to inspect the `httpMethod` field and branch logic for GET, POST, DELETE without any additional API Gateway mapping or transformation configuration. This minimizes both code (the function handles routing internally) and configuration (no need to define separate integration requests/responses per method).

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

Review lambda proxy integration passes the entire request to the Lambda function., then practise related DVA-C02 questions on the same topic to reinforce the concept.

Are there clue words in this question I should notice?

Yes — watch for: "minimum / minimize". Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.

What is the key concept behind this question?

Lambda proxy integration passes the entire request to the Lambda function.

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

Last reviewed: Jun 11, 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 DVA-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 DVA-C02 exam.