exam questions

Exam 1z0-1084-20 All Questions

View all questions & answers for the 1z0-1084-20 exam

Exam 1z0-1084-20 topic 1 question 10 discussion

Actual exam question from Oracle's 1z0-1084-20
Question #: 10
Topic #: 1
[All 1z0-1084-20 Questions]

You are tasked with developing an application that requires the use of Oracle Cloud Infrastructure (OCI) APIs to POST messages to a stream in the OCI
Streaming service.
Which statement is incorrect? (Choose the best answer.)

  • A. The request must include an authorization signing string including (but not limited to) x-content-sha256, content-type, and content-length headers.
  • B. The Content-Type header must be set to application/json
  • C. An HTTP 401 will be returned if the client's clock is skewed more than 5 minutes from the server's.
  • D. The request does not require an Authorization header.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Reference:
https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/signingrequests.htm

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
mbanzai
Highly Voted 4 years, 6 months ago
D For PUT and POST requests (when there's content in the request body), the signing string must include at least these headers: (request-target) host date or x-date (if both are included, Oracle uses x-date) x-content-sha256 (except for Object Storage PUT requests; see the next section) content-type content-length and the Authorization header.
upvoted 6 times
...
Saidasa
Most Recent 2 years, 11 months ago
Selected Answer: D
Namaste https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/signingrequests.htm
upvoted 1 times
...
Osong
4 years, 5 months ago
D To see why B and C are correct. See https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm A is also correct, while if you are missing the header a 401 Unauthorized response will be sent to the client. See https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/signingrequests.htm You know an answer is from a bot if it cites no source nor argument
upvoted 2 times
...
firstvishal
4 years, 6 months ago
I think answer is D- I got practice exams from Udemy and in that answer is A, but when I read the article at oracle I found D must be the right answer:- Summary of Signing Steps In general, these are the steps required to sign a request: Form the HTTPS request (SSL protocol TLS 1.2 is required). Create the signing string, which is based on parts of the request. Create the signature from the signing string, using your private key and the RSA-SHA256 algorithm. Add the resulting signature and other required information to the Authorization header in the request. See the remaining sections in this topic for details about these steps.
upvoted 3 times
...
Jatindra
4 years, 6 months ago
Answer : A
upvoted 1 times
juanclopez2011
1 year, 5 months ago
No, is the option D. The questions is for the incorrect
upvoted 1 times
...
...
gfhbox0083
4 years, 7 months ago
D, for sure. The request 'does' require an Authorization header. More details via the provided link
upvoted 3 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