Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam DP-420 All Questions

View all questions & answers for the DP-420 exam

Exam DP-420 topic 5 question 13 discussion

Actual exam question from Microsoft's DP-420
Question #: 13
Topic #: 5
[All DP-420 Questions]

HOTSPOT -
You have an Azure Cosmos DB Core (SQL) API account used by an application named App1.
You open the Insights pane for the account and see the following chart.

Use the drop-down menus to select the answer choice that answers each question based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: incorrect connection URLs
400 Bad Request: Returned when there is an error in the request URI, headers, or body. The response body will contain an error message explaining what the specific problem is.
The HyperText Transfer Protocol (HTTP) 400 Bad Request response status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error (for example, malformed request syntax, invalid request message framing, or deceptive request routing).

Box 2: 6 thousand -
201 Created: Success on PUT or POST. Object created or updated successfully.
Note:
200 OK: Success on GET, PUT, or POST. Returned for a successful response.
404 Not Found: Returned when a resource does not exist on the server. If you are managing or querying an index, check the syntax and verify the index name is specified correctly.
Reference:
https://docs.microsoft.com/en-us/rest/api/searchservice/http-status-codes

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
lakime
Highly Voted 2 years, 6 months ago
404 Not Found: Returned when a resource does not exist on the server. If you are managing or querying an index, check the syntax and verify the index name is specified correctly. - so first answer should be D 201 Created: Success on PUT or POST. Object created or updated successfully. So second is correct
upvoted 16 times
Ranzzzan
1 year, 8 months ago
100% correct
upvoted 2 times
...
essdeecee
2 years, 2 months ago
404 | Not Found | The document is no longer a resource, that is, the document was deleted. https://docs.microsoft.com/en-us/training/modules/monitor-responses-events-azure-cosmos-db-sql-api/2-review-common-response-codes#:~:text=Strong%20or%20Bounded.-,404,is%20no%20longer%20a%20resource%2C%20that%20is%2C%20the%20document%20was%20deleted.,-Replace%20a%20Document
upvoted 3 times
...
...
azuredemo2022three
Most Recent 1 year, 4 months ago
Answer 1. requesting resources that do not exist 2. 6 thousand
upvoted 4 times
...
TimSss
2 years, 1 month ago
Explanation is talking about 400 but question is about 404
upvoted 3 times
...
essdeecee
2 years, 2 months ago
2nd answer is 30.3: looking for 200 codes. Answer selection is for 404 codes which is not correct.
upvoted 1 times
Internal_Koala
2 years ago
200 is for succesful GET while 201 is a successful creation. Second choice (201) is correct.
upvoted 3 times
...
xRiot007
10 months, 2 weeks ago
200 is a successful GET 201 is a successful creation
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 ...