exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 2 question 25 discussion

Actual exam question from Microsoft's PL-400
Question #: 25
Topic #: 2
[All PL-400 Questions]

You plan to populate records in a Microsoft Dataverse entity containing an option set field.
The source system has the label for the option set but not the corresponding integer value.
You are using a non .NET programming language.
You need to find the integer value for the option set.
What should you do?

  • A. Use Web API and use a PicklistAttibuteMetadata request.
  • B. Use the Organization service and execute a RetrieveOptionSetRequest request.
  • C. Use Web API and use an InsertOptionValue action.
  • D. Use the Organization service and execute a RetrieveAttributeRequest request.
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
thulstrup
Highly Voted 2 years, 2 months ago
Selected Answer: A
Organization service is for .NET and thus not an option. Believe that A is the right answer.
upvoted 18 times
V05
1 year, 10 months ago
A is also for .NET https://learn.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.metadata.picklistattributemetadata?view=dataverse-sdk-latest
upvoted 2 times
...
...
MarioM
Highly Voted 2 years, 1 month ago
Selected Answer: A
non .NET means API, so its A
upvoted 5 times
...
ciotbinhnguyen
Most Recent 7 months, 1 week ago
Selected Answer: A
definitely A B and D required .NET skill
upvoted 1 times
...
AzureExpertwannabe
9 months, 3 weeks ago
Selected Answer: B
To find the integer value for an option set label in a Microsoft Dataverse entity when using a non .NET programming language, you should: B. Use the Organization service and execute a RetrieveOptionSetRequest request. This request will allow you to retrieve both the labels and the integer values for an option set field within Dataverse. Since you are working with a non .NET language, you will be interfacing with the Organization service likely through a web API, but the key is to use the specific request type designed for option sets.
upvoted 1 times
...
At09
1 year, 1 month ago
Correct is A
upvoted 1 times
...
jkaur
1 year, 2 months ago
a should be answer
upvoted 1 times
...
DummyTest1
1 year, 4 months ago
Selected Answer: A
With non .Net Application - API is the best bet
upvoted 1 times
...
DimpleG
1 year, 9 months ago
Selected Answer: A
A. Using the Web API and a PicklistAttibuteMetadata request is correct because it allows you to retrieve the option set metadata, which includes the integer value for each option in the set. B. Using the Organization service and executing a RetrieveOptionSetRequest request is incorrect because this request retrieves the entire option set, not just the integer value for a specific option.
upvoted 3 times
...
Windman
1 year, 9 months ago
Selected Answer: A
Non .Net clients should usi API
upvoted 3 times
...
AlltheMSCerts
2 years, 1 month ago
Selected Answer: A
Have to go API because of non .NET.
upvoted 4 times
...
MahdiFlight
2 years, 2 months ago
Option C, maybe be correct!
upvoted 2 times
...
MahdiFlight
2 years, 2 months ago
This is tricky, "You are using a non .NET programming language."
upvoted 3 times
...
hertino
2 years, 2 months ago
Selected Answer: B
Correct, https://docs.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.messages.retrieveoptionsetrequest?view=dataverse-sdk-latest&viewFallbackFrom=dynamics-general-ce-9
upvoted 4 times
gzrbr
2 years, 1 month ago
I don`t think so... "You are using a non .NET programming language.". RetrieveOptionSetRequest is a .Net class...looks like A.
upvoted 5 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