exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 52 discussion

Actual exam question from Cisco's 350-901
Question #: 52
Topic #: 1
[All 350-901 Questions]


Refer to the exhibit. Two editors are concurrently updating an article's headline from their mobile devices.
What results from this scenario based on this REST API sequence?

  • A. The article is marked as ג€Conflictedג€
  • B. The article headline is ג€Monday Headlinesג€
  • C. The article headline is ג€Today Headlinesג€
  • D. The article headline is ג€Top Headlinesג€
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
lente_kriebels
Highly Voted 2 years, 10 months ago
It should D
upvoted 18 times
...
isaacmejia
Most Recent 7 months ago
Selected Answer: D
D is correct
upvoted 1 times
...
Teringzooi
1 year, 9 months ago
Selected Answer: D
D is correct client 2 = 412 = access denied.
upvoted 3 times
...
designated
1 year, 10 months ago
Selected Answer: D
The correct answer is D. Client1 - GET and API Service return the ETag ed5 with the title Monday Headlines Client2 - GET and API Service return the ETag ed5 with the title Monday Headlines Client1 - PUT the title from Monday Headlines to Top Headlines and received 200 with a new ETag 980f - It's meaning that the title has been changed and the ETag has been updated. Client2 - Try to change the title using the old ETag ed5 and receives 412 which means "Precondition Failed" since the ETag has changed.
upvoted 3 times
designated
1 year, 10 months ago
With unsafe methods (PUT and DELETE), conditions are used to allow modifications to a resource only when it’s still the same and hasn’t changed since the last interaction. The following headers specify a condition for the request: - “If-Match”: Set to previously known “ETag” value. The condition is true if the ETag of the resource on a server is equal to the one supplied in this header. Only a strong ETag may be used, as weak tags never match under this comparison. - “If-Unmodified-Since”: Set to the previously known “Last-Modified” value. The condition is true if the date of the resource on a server is the same or older than the one listed in this header. If the condition is true (that is, the resource has not changed), then the server proceeds with the update as normal. If the condition is not met, then the change is rejected with a 412 “Precondition Failed” error.
upvoted 1 times
...
...
__al__
2 years, 2 months ago
Selected Answer: D
Obviously D. No questions about it.
upvoted 3 times
...
dexilec82
2 years, 4 months ago
Client 1 already change the title for resource 17f0fff99ed5 so when Client 2 tries to change it too, hes a little to late already somebody got her already thats why he got rejected, access to the target resource has been denied, too bad, shes not there anymore ;)
upvoted 2 times
...
Guillaume
2 years, 6 months ago
Selected Answer: D
sentence D
upvoted 3 times
...
udo2020
2 years, 6 months ago
I mean Return Code 412 indicates.... PRECONDITION FAILED One or more conditions given in the request header fields evaluated to false when tested on the server.
upvoted 1 times
...
udo2020
2 years, 6 months ago
I agree with D because Return Code indicates: PRECONDITION FAILED One or more conditions given in the request header fields evaluated to false when tested on the server.
upvoted 1 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 ...