exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 122 discussion

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.)

  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
vicvega
Highly Voted 1 year, 3 months ago
Header: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20220830/us-east-1/ec2/aws4_request, SignedHeaders=host;x-amz-date, Signature=calculated-signature Query String: https://ec2.amazonaws.com/? Action=DescribeInstances& Version=2016-11-15& X-Amz-Signature=calculated-signature https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html
upvoted 10 times
...
MrTee
Highly Voted 1 year, 6 months ago
Selected Answer: AD
the correct options are A and D.
upvoted 9 times
...
sumanshu
Most Recent 4 months ago
Selected Answer: AD
The developer has already performed the necessary steps to generate the signature but needs to know where to place the signature in the request to ensure the request is valid and properly authenticated. A) Correct - SigV4 officially supports placing the signature in the Authorization header, C) Eliminated - AWS specifically requires the Authorization header for passing the signature in HTTP headers D) Correct - SigV4 allows for query string authentication as an alternative to using the Authorization header. This is especially useful for presigned URLs, where the signature and other necessary information are passed in the query string (e.g., X-Amz-Signature)
upvoted 1 times
sumanshu
2 months, 2 weeks ago
C) Eliminated - The correct header is Authorization, not Authentication
upvoted 1 times
sumanshu
2 months, 2 weeks ago
E) Eliminated - This is used for different types of authentication (like when a website asks for a username and password), not AWS Signature V4.
upvoted 1 times
...
...
...
65703c1
5 months ago
Selected Answer: AD
AD is the correct answer.
upvoted 1 times
...
SerialiDr
9 months, 2 weeks ago
Selected Answer: AD
A. Add the signature to an HTTP header that is named Authorization: This is a correct method. In Signature Version 4, the completed signature is typically added to the request's Authorization header. This header includes the signing information along with other necessary components such as the Credential Scope and the Signed Headers. D. Add the signature to a query string parameter that is named X-Amz-Signature: This is a correct method. In addition to including the signature in the Authorization header, Signature Version 4 also allows for presigned URLs where the signature is part of the query string parameters. The signature is included in the X-Amz-Signature query string parameter.
upvoted 3 times
...
loctong
1 year, 5 months ago
Selected Answer: AD
Option B,C And E are not correct;
upvoted 1 times
...
awsdummie
1 year, 5 months ago
Selected Answer: AD
https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago