Question 330
An event bus connects independently scaled microservices. The team confirms that an integration partner can only push approved events to a shared bus. Which implementation most closely meets this requirement?
Explanation
Correct Answer
The scenario identifies this requirement: An integration partner can only push approved events to a shared bus. Select Add an EventBridge resource policy constrained to intended sender principals as the specified technical mechanism. Event-bus policies govern cross-account event publishing. This response addresses the problem described rather than a different design goal.
Incorrect Answers
Configure an EventBridge archive and controlled replay where supported would help if a business wants event replay for a limited audit window. Event archives retain event-bus records for replay. That is not the symptom described here: an integration partner can only push approved events to a shared bus. The matching response is Add an EventBridge resource policy constrained to intended sender principals, because event-bus policies govern cross-account event publishing.
For the alternative failure events with specific account and detail-type values need separate processing, the control Define EventBridge rules that match the required event patterns is relevant: event patterns route only matching records. Here the evidence instead is an integration partner can only push approved events to a shared bus. The selected technical mechanism is Add an EventBridge resource policy constrained to intended sender principals: event-bus policies govern cross-account event publishing.
Use EventBridge event buses and target rule subscriptions solves a different operational problem where a service publishes domain events but must not know subscriber URLs. Producers and consumers stay decoupled through event routing. It does not directly address an integration partner can only push approved events to a shared bus. The case calls for Add an EventBridge resource policy constrained to intended sender principals, since event-bus policies govern cross-account event publishing.