Black Friday Reward - Upto 80% off - Ends in 0d 00h 00m 00s - Coupon code: VIP80

Amazon Web Services AWS Certified Developer - Associate DVA-C03 Question # 61 Topic 7 Discussion

Amazon Web Services AWS Certified Developer - Associate DVA-C03 Question # 61 Topic 7 Discussion

DVA-C03 Exam Topic 7 Question 61 Discussion:
Question #: 61
Topic #: 7

A developer works in an environment with multiple AWS accounts that have AWS Lambda functions processing the same 100 KB payloads. The developer wants to centralize the point of origin of the payloads to one account and have all the Lambda functions be invoked whenever the initiating event occurs in the parent account.

How can the developer design the workflow in the MOST efficient way, so all the multi-account Lambda functions get invoked when the event occurs?


A.

Create a Lambda function in the parent account and use cross-account IAM roles with the AWS STS AssumeRole API call to make AWS Lambda invoke the API call to invoke all the cross-account Lambda functions.


B.

Subscribe all the multi-account Lambda functions to an Amazon SNS topic and make an SNS Publish API call with the payload to the SNS topic.


C.

Set up an Amazon SQS queue with the queue policy permitting the ReceiveMessage action for multi-account Lambda functions. Then send the payload to the SQS queue using the sqs:SendMessage permission and poll the queue using multi-account Lambda functions.


D.

Use a worker on an Amazon EC2 instance to poll for the payload event. Invoke all Lambda functions using the Lambda Invoke API after using cross-account IAM roles with the AWS STS AssumeRole API call.


Get Premium DVA-C03 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.