AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 305
A company has several AWS accounts. An Amazon Connect instance runs in each account. The company uses an Amazon EventBridge default event bus in each account for event handling.
A DevOps team needs to receive all the Amazon Connect events in a single DevOps account.
Which solution meets these requirements?
Answer options
- A. Update the resource-based policy of the default event bus in each account to allow the DevOps account to replay events. Configure an EventBridge rule in the DevOps account that matches Amazon Connect events and has a target of the default event bus in the other accounts.
- B. Update the resource-based policy of the default event bus in each account to allow the DevOps account to receive events. Configure an EventBridge rule in the DevOps account that matches Amazon Connect events and has a target of the default event bus in the other accounts.
- C. Update the resource-based policy of the default event bus in the DevOps account. Update the policy to allow events to be received from the accounts. Configure an EventBridge rule in each account that matches Amazon Connect events and has a target of the DevOps account's default event bus.
- D. Update the resource-based policy of the default event bus in the DevOps account. Update the policy to allow events to be replayed by the accounts. Configure an EventBridge rule in each account that matches Amazon Connect events and has a target of the DevOps account's default event bus.
Correct answer: C
Explanation
Option C is correct because to send events across accounts to a centralized event bus, the receiving event bus (in the DevOps account) must have a resource-based policy that permits the source accounts to put events. Additionally, each source account requires an EventBridge rule to match the local Amazon Connect events and forward them to the central DevOps event bus as the target. Options A and B reverse the rule and policy locations, while Option D incorrectly focuses on event replaying instead of event ingestion.