Examtopics

AWS Certified Solutions Architect - Associate
  • Topic 1 Question 105

    A company is preparing to deploy a new serverless workload. A solutions architect must use the principle of least privilege to configure permissions that will be used to run an AWS Lambda function. An Amazon EventBridge (Amazon CloudWatch Events) rule will invoke the function. Which solution meets these requirements?

    • Add an execution role to the function with lambda:InvokeFunction as the action and * as the principal.

    • Add an execution role to the function with lambda:InvokeFunction as the action and Service: lambda.amazonaws.com as the principal.

    • Add a resource-based policy to the function with lambda:* as the action and Service: events.amazonaws.com as the principal.

    • Add a resource-based policy to the function with lambda:InvokeFunction as the action and Service: events.amazonaws.com as the principal.


    シャッフルモード