Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

VMware 6V0-21.25 Exam - Topic 17 Question 5 Discussion

Which of the following API call actions are associated with Creation in the CRUD operations? (Select all that apply)
A) POST and C) PUT
B) GET
D) PATCH
E) DELETE

VMware 6V0-21.25 Exam - Topic 17 Question 5 Discussion

Actual exam question for VMware's 6V0-21.25 exam
Question #: 5
Topic #: 17
[All 6V0-21.25 Questions]

Which of the following API call actions are associated with Creation in the CRUD operations? (Select all that apply)

Show Suggested Answer Hide Answer
Suggested Answer: A, C

When automating vDefend Security via its REST API, operations map to standard HTTP methods representing CRUD (Create, Read, Update, Delete) actions.

POST: This is universally used for Creation. It is typically used when you want the system to automatically generate the unique identifier (ID) for the newly created object.

PUT: While traditionally associated with 'Update' (replacing an entire object), in the vDefend declarative Policy API, PUT is heavily utilized for Creation as well. Specifically, if you want to define your own custom ID for a new object in the API path (e.g., PUT /policy/api/v1/infra/domains/default/groups/My-Custom-Group-ID), you use a PUT request to create it. If the object doesn't exist, PUT creates it; if it does exist, PUT updates it.

=========================


Contribute your Thoughts:

0/2000 characters
Nakisha
4 days ago
Not really, PUT is for updating existing resources.
upvoted 0 times
...
Della
9 days ago
What about C) PUT? Isn't that also for creation?
upvoted 0 times
...
Nell
14 days ago
Agreed! POST is for creating new resources.
upvoted 0 times
...
Nakisha
19 days ago
I think A) POST is definitely the right choice.
upvoted 0 times
...
Michell
25 days ago
Totally agree, POST is the go-to for creating!
upvoted 0 times
...
Valentin
30 days ago
Wait, are you sure PATCH isn't for creation too?
upvoted 0 times
...
Lettie
1 month ago
No way, DELETE is not for creation!
upvoted 0 times
...
Amira
1 month ago
I thought PUT was also for creating new resources?
upvoted 0 times
...
Devora
2 months ago
A) POST is definitely for creation!
upvoted 0 times
...
Altha
2 months ago
DELETE is definitely not for creation, but I wonder if PATCH could be considered creation in some scenarios?
upvoted 0 times
...
Valene
2 months ago
I feel like PUT might also be related to creation in some contexts, but I can't recall the specifics right now.
upvoted 0 times
...
Renea
2 months ago
I remember practicing a similar question, and I think only POST is the clear answer for creation.
upvoted 0 times
...
Ulysses
2 months ago
I think POST is definitely for creation, but I'm not sure about PUT and PATCH. They seem more like updates to me.
upvoted 0 times
...
Jaclyn
2 months ago
DELETE is definitely not for creation, but I’m confused about PATCH. Does it create or just modify?
upvoted 0 times
...
Larae
4 months ago
I feel like PUT might also be related to creation, but I can't recall if it’s strictly for updating.
upvoted 0 times
...
Trinidad
4 months ago
I remember practicing a question like this, and I think only POST is the clear choice for creation.
upvoted 0 times
...
Alonso
4 months ago
I think POST is definitely for creation, but I'm not sure about PUT and PATCH. They seem similar.
upvoted 0 times
...

Save Cancel