Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 167 discussion

A company uses an organization in AWS Organizations to manage its AWS accounts. The company's automation account contains a CI/CD pipeline that creates and configures new AWS accounts.

The company has a group of internal service teams that provide services to accounts in the organization. The service teams operate out of a set of services accounts. The service teams want to receive an AWS CloudTrail event in their services accounts when the CreateAccount API call creates a new account.

How should the company share this CloudTrail event with the service accounts?

  • A. Create an Amazon EventBridge rule in the automation account to send account creation events to the default event bus in the services accounts. Update the default event bus in the services accounts to allow events from the automation account.
  • B. Create a custom Amazon EventBridge event bus in the services accounts. Update the custom event bus to allow events from the automation account. Create an EventBridge rule in the services account that directly listens to CloudTrail events from the automation account.
  • C. Create a custom Amazon EventBridge event bus in the automation account and the services accounts. Create an EventBridge rule and policy that connects the custom event buses that are in the automation account and the services accounts.
  • D. Create a custom Amazon EventBridge event bus in the automation account. Create an EventBridge rule and policy that connects the custom event bus to the default event buses in the services accounts.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
c3518fc
1 week, 3 days ago
Selected Answer: B
The steps to configure EventBridge to send events to or receive events from an event bus in a different account include the following: On the receiver account, edit the permissions on an event bus to allow specified AWS accounts, an organization, or all AWS accounts to send events to the receiver account. On the sender account, set up one or more rules that have the receiver account's event bus as the target. If the sender account inherits permissions to send events from an AWS Organization, the sender account also must have an IAM role with policies that enable it to send events to the receiver account. If you use the AWS Management Console to create the rule that targets the event bus in the receiver account, the role is created automatically. On the receiver account, set up one or more rules that match events that come from the sender account.
upvoted 1 times
...
dkp
2 weeks, 6 days ago
Selected Answer: A
answer A
upvoted 2 times
...
stoy123
1 month, 1 week ago
Selected Answer: A
of course its A! (CloudTrail events) ---EventBridge rule---> [automation account default EventBridge event bus] ---allow---> [service accounts custom EventBridge event bus]
upvoted 2 times
stoy123
1 month, 1 week ago
I mean B
upvoted 1 times
...
...
thanhnv142
2 months, 3 weeks ago
Selected Answer: A
A is correct: We need account creation events and this option provides us with exactly that B: < Create an EventBridge rule in the services account that directly listens to CloudTrail events>: This does not make sense. We should apply rule to eventbus to send event C and D: Both options send all events, not just account creation events
upvoted 2 times
...
6f258dd
3 months, 2 weeks ago
Selected Answer: A
its A, rest don't include account creation.
upvoted 2 times
...
a54b16f
3 months, 3 weeks ago
Selected Answer: A
B is wrong, the event is in automation account. It lacks the step to send the event from automation to service account.
upvoted 2 times
...
davdan99
3 months, 3 weeks ago
Selected Answer: A
Go for A https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cross-account.html
upvoted 2 times
govindrk
2 months, 2 weeks ago
The link you pasted clearly says it is D.
upvoted 1 times
...
...
ozansenturk
4 months ago
Selected Answer: A
A is right. "Create an Amazon EventBridge rule in the automation account to send account creation events to the default event bus in the services accounts": propagation of provision events to the service accounts. "Update the default event bus in the services accounts to allow events from the automation account.": correct B. "Create a custom Amazon EventBridge event bus in the services accounts. Update the custom event bus to allow events from the automation account.": correct however "Create an EventBridge rule in the services account that directly listens to CloudTrail events from the automation account.": Why do you create a rule in the services account listening the events from automation account, in opposite, the rule should be created in the automation account to push the events to the bus in the services account.
upvoted 4 times
...
kabary
4 months ago
Selected Answer: B
I will go with B. Given that "listening directly to CloudTrail" is mentioned in the below AWS documentation in bullet point number 8: https://aws.amazon.com/blogs/machine-learning/onboard-users-to-amazon-sagemaker-studio-with-active-directory-group-specific-iam-roles/
upvoted 1 times
...
csG13
4 months ago
Selected Answer: B
It's B - create an Eventbridge rule in the source account, and point the rule to a custom event bus in the service accounts.
upvoted 1 times
csG13
4 months ago
reading it again, I'm more inclined to A given that B says about eventbridge rule listening *directly* from Cloudtrail
upvoted 2 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 ...