exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 89 discussion

A company is using an Amazon API Gateway REST API endpoint as a webhook to publish events from an on-premises source control management (SCM) system to Amazon EventBridge. The company has configured an EventBridge rule to listen for the events and to control application deployment in a central AWS account. The company needs to receive the same events across multiple receiver AWS accounts.

How can a developer meet these requirements without changing the configuration of the SCM system?

  • A. Deploy the API Gateway REST API to all the required AWS accounts. Use the same custom domain name for all the gateway endpoints so that a single SCM webhook can be used for all events from all accounts.
  • B. Deploy the API Gateway REST API to all the receiver AWS accounts. Create as many SCM webhooks as the number of AWS accounts.
  • C. Grant permission to the central AWS account for EventBridge to access the receiver AWS accounts. Add an EventBridge event bus on the receiver AWS accounts as the targets to the existing EventBridge rule.
  • D. Convert the API Gateway type from REST API to HTTP API.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
csG13
Highly Voted 1 year, 4 months ago
Selected Answer: C
It's C - eventbridge event buses in one (target) account can be a target of another event rule in a source account. For reference, watch the video in the following link: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cross-account.html
upvoted 19 times
...
sumanshu
Most Recent 4 months ago
Selected Answer: C
This approach uses EventBridge's native cross-account event delivery capabilities, ensuring events are sent to the receiver accounts without modifying the SCM system configuration.
upvoted 1 times
sumanshu
2 months, 2 weeks ago
A) Eliminated - This would require modifying the SCM webhook or deploying redundant API Gateway endpoints, which is unnecessary and inefficient. B) Eliminated - This would require multiple webhook configurations in the SCM system, which contradicts the requirement of not changing the SCM setup. D) Eliminated - Changing API Gateway from REST API to HTTP API does not solve the problem of distributing events across multiple AWS accounts.
upvoted 1 times
...
...
65703c1
5 months ago
Selected Answer: C
C is the correct answer.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago