nerdexam
AmazonAmazon

DVA-C02 · Question #347

DVA-C02 Question #347: Real Exam Question with Answer & Explanation

Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #347. The question stem and answer options stay visible for context.

Submitted by jakub_pl· Mar 5, 2026Security

Question

A developer is building an event-driven application by using AWS Lambda and Amazon EventBridge. The Lambda function needs to push events to an EventBridge event bus. The developer uses an SDK to run the PutEvents EventBridge action and specifies no credentials in the code. After deploying the Lambda function, the developer notices that the function is failing and there are AccessDeniedException errors in the logs. How should the developer resolve this issue?

Options

  • AConfigure a VPC peering connection between the Lambda function and EventBridge.
  • BModify their AWS credentials to include permissions for the PutEvents EventBridge action.
  • CModify the Lambda function execution role to include permissions for the PutEvents EventBridge
  • DAdd a resource-based policy to the Lambda function to include permissions for the PutEvents

Unlock DVA-C02 to see the answer

You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full DVA-C02 PracticeBrowse All DVA-C02 Questions