Multiple Choice
A company is preparing to deploy a new serverless workload. A solutions architect needs to configure permissions for invoking an AWS Lambda function. The function will be triggered by an Amazon EventBridge (Amazon CloudWatch Events) rule. Permissions should be configured using the principle of least privilege. Which solution will meet these requirements?
A) Add an execution role to the function with lambda:InvokeFunction as the action and * as the principal.
B) Add an execution role to the function with lambda:InvokeFunction as the action and Service:amazonaws.com as the principal.
C) Add a resource-based policy to the function with lambda:'* as the action and Service:events.amazonaws.com as the principal.
D) Add a resource-based policy to the function with lambda:InvokeFunction as the action and Service:events.amazonaws.com as the principal.
Correct Answer:

Verified
Correct Answer:
Verified
Q112: Application developers have noticed that a production
Q113: A company has a service that produces
Q114: A media company stores video content in
Q115: A company is developing a video conversion
Q116: A company that operates a web application
Q118: A company is migrating a three-tier application
Q119: A company is working with an external
Q120: As part of budget planning, management wants
Q121: Organizers for a global event want to
Q122: A company is building a payment application