exam questions

Exam 200-301 All Questions

View all questions & answers for the 200-301 exam

Exam 200-301 topic 1 question 1012 discussion

Actual exam question from Cisco's 200-301
Question #: 1012
Topic #: 1
[All 200-301 Questions]

When is the PUT method used within HTTP?

  • A. to update a DNS server
  • B. when a nonidempotent operation is needed
  • C. to display a web site
  • D. when a read-only operation is required
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
oatmealturkey
Highly Voted 2 years, 3 months ago
Selected Answer: A
Please correct. "Standard REST methods are supported on the API, which includes POST, GET, PUT, and DELETE operations through HTTP. The PUT methods are idempotent, meaning that there is no additional effect if they are called more than once with the same input parameters. The GET method is nullipotent, meaning that it can be called zero or more times without making any changes (or that it is a read-only operation)." https://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/aci_multi-site/sw/1x/rest_api_config/b_Cisco_ACI_Multi-Site_REST_Configuration_Guide/b_Cisco_ACI_Multi-Site_REST_Config_Guide_chapter_01.pdf
upvoted 11 times
...
Ciscoman021
Highly Voted 2 years, 2 months ago
Selected Answer: A
The PUT method is used within HTTP when a client wants to update an existing resource on the server. Therefore, the correct option is A: to update a resource on a server. The PUT method is a part of the HTTP protocol that allows a client to update or replace a resource on the server with a new version. It is an idempotent operation, which means that making multiple identical requests has the same effect as making a single request. The other options are incorrect: B. The PUT method is not used for non-idempotent operations; it is used for idempotent operations. C. The GET method is typically used to display a web site. D. The GET method is used for read-only operations, not the PUT method.
upvoted 5 times
...
Kafka_Tamura
Most Recent 6 months ago
guys you're gonna put a http request on a dns server ? the question seems incorect, i think it's b
upvoted 1 times
...
[Removed]
1 year, 2 months ago
Selected Answer: A
it´s A
upvoted 1 times
...
[Removed]
1 year, 5 months ago
Selected Answer: A
PUT is idempotent. The other options are just junk. It has to be A.
upvoted 1 times
...
raptuz
1 year, 9 months ago
Selected Answer: B
The correct answer is B. when a nonidempotent operation is needed. The PUT method in HTTP is used to update or create a resource on the server. It is typically used for idempotent operations, meaning that making the same request multiple times should have the same result as making it once. However, it's important to note that the PUT method is used for updating resources, not read-only operations or displaying web pages. Option A is incorrect because updating a DNS server typically involves administrative actions and may use different protocols. Option C is incorrect because displaying a web page is a read operation and would usually involve the GET method. Option D is incorrect because the PUT method is not used for read-only operations.
upvoted 1 times
Rick3390
1 year, 8 months ago
But B says: "when a nonidempotent operation is needed"... but mate, PUT is actually idempotent. It seams to me that you just use chatgpt for this answer without argue with it. Try to tell to chatgpt that PUT is idempotent and then you will see chatgpt correct him self and give you the right option. If we want to talk about the fact that DNS uses a specific DNS protocol to updates, let's talk about it, but for the context of these options and strictly speaking about the HTTP protocol, A would be the most appropriate choice.
upvoted 1 times
...
...
Vikramaditya_J
1 year, 10 months ago
Selected Answer: A
The PUT method in HTTP (Hypertext Transfer Protocol) is used to update a resource on the server. Non-idempotent methods are those that can have different outcomes when called multiple times with the same input parameters. Examples of non-idempotent methods include POST, PATCH, and non-idempotent PUT requests. Common non-idempotent methods: POST, PATCH, CONNECT. PUT isn't a non-idempotent methods.
upvoted 1 times
...
Rynurr
2 years, 3 months ago
Selected Answer: A
"B" is incorrect > NON-IDEMPOTENT: If an operation always causes a change in state, like POSTing the same message to a user over and over, resulting in a new message sent and stored in the database every time. Must be "A".
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 ...