DVA-C02 · Question #784
DVA-C02 Question #784: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #784. The question stem and answer options stay visible for context.
Question
A developer is testing an AWS Lambda function. The developer invokes the Lambda function by using a function URL with an AWS_IAM authentication type. The invocation fails. The developer confirms that the function URL is correct and that the function's execution role has the lambda:InvokeFunctionUrl permission for the correct resource. However, the invocation continues to fail. The developer must successfully invoke the Lambda function. Which solution will meet this requirement?
Options
- AAdd a condition to the function's execution role to match StringEquals:
- BCreate a signed URL by using the function URL and a new public and private key pair. Add the
- CAdd the lambda:GetFunctionUrlConfig permission to the IAM role that is used to invoke the
- DSign the request to the function URL by using the AWS Signature Version 4 (SigV4) signing
Unlock DVA-C02 to see the answer
You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.