SAP-C02 Continuous Improvement for Existing Solutions Practice Question
Exhibit
Refer to the exhibit.
[ERROR] 2023-01-15T10:30:00.000Z ResourceNotFoundException: Requested resource not found
at Request.extractError (/var/runtime/node_modules/aws-sdk/lib/protocol/json.js:52:27)
at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at Request.emit (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at Request.emit (/var/runtime/node_modules/aws-sdk/lib/request.js:688:14)
at Request.transition (/var/runtime/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/var/runtime/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /var/runtime/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:38:9)
at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:690:12)
at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:106:20)Refer to the exhibit. An AWS Lambda function logs the error above. The function uses the AWS SDK to call an Amazon DynamoDB table. What is the MOST likely cause?
⚠ Common exam trap
SAP-C02 often tests the ability to distinguish DynamoDB error types — candidates may pick permissions or throttling without noting that ResourceNotFoundException specifically means the table does not exist.
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
✓
The DynamoDB table specified in the function does not exist.
The error shown in the exhibit is a ResourceNotFoundException from DynamoDB, which indicates that the table specified in the function's request does not exist. This is the most likely cause when the SDK call fails with that specific exception, as opposed to permission or throttling errors.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The Lambda function timed out while waiting for a response.
Why it's wrong here
A timeout surfaces as a client-side timeout exception, not an SDK error naming the DynamoDB operation, so it cannot explain the logged failure. It is tempting because Lambda's execution limit genuinely causes timeouts, and raising the function's timeout would be the fix if the log showed a Task timed out message.
- ✓
The DynamoDB table specified in the function does not exist.
Why this is correct
DynamoDB returns ResourceNotFoundException when the SDK targets a table name that does not exist in that region or account. The function's request therefore fails before any read or write occurs, matching the logged error more directly than permission or throttling causes.
- ✗
The Lambda function does not have permission to access DynamoDB.
Why it's wrong here
Missing permissions produce AccessDeniedException from IAM authorisation, which is a distinct error string from the one logged. It is tempting because Lambda execution roles frequently omit DynamoDB actions, and attaching the correct IAM policy would fix it if the log showed an access-denied message.
- ✗
The DynamoDB table is throttling requests.
Why it's wrong here
Throttling returns ProvisionedThroughputExceededException or RequestLimitExceeded, not the error shown in the exhibit. It is tempting because DynamoDB capacity limits are a common Lambda integration failure, and switching the table to on-demand billing would resolve it if the log named throttling.
Quick reference
Cloud Service Model Comparison
| Model | You Manage | Provider Manages | Examples |
|---|---|---|---|
| IaaS | OS, runtime, apps, data | Hardware, hypervisor, networking | EC2, Azure VMs, GCP Compute Engine |
| PaaS | Apps and data | OS, runtime, middleware, hardware | Elastic Beanstalk, Azure App Service |
| SaaS | Data and settings only | Everything else | Microsoft 365, Salesforce, Workday |
| FaaS / Serverless | Function code only | Infra, scaling, runtime | Lambda, Azure Functions, Cloud Run |
| CaaS | Containers and apps | Kubernetes, OS, hardware | EKS, AKS, GKE |
About these practice questions
Courseiva writes every SAP-C02 question from scratch — 984 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint
This SAP-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 SAP-C02 exam.