AWS Certified Developer – Associate (DVA-C02) — Question 96
A developer is developing an application that uses signed requests (Signature Version 4) to call other AWS services. The developer has created a canonical request, has created the string to sign, and has calculated signing information.
Which methods could the developer use to complete a signed request? (Choose two.)
Answer options
- A. Add the signature to an HTTP header that is named Authorization.
- B. Add the signature to a session cookie.
- C. Add the signature to an HTTP header that is named Authentication.
- D. Add the signature to a query string parameter that is named X-Amz-Signature.
- E. Add the signature to an HTTP header that is named WWW-Authenticate.
Correct answer: A, D
Explanation
The correct answers are A and D because the Signature Version 4 allows the signature to be included in the Authorization header or as a query string parameter named X-Amz-Signature. Options B, C, and E are incorrect as they do not conform to the standard practices for AWS signature signing methods.