exam questions

Exam MB-400 All Questions

View all questions & answers for the MB-400 exam

Exam MB-400 topic 2 question 13 discussion

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

A company has two development instances, two test instances, two staging instances, and one production instance.
The test team reports connection issues with the test and staging instances.
You need to identify which if the instances the testing team currently has access.
Which two URLs can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  • A. https://myorg.api.crm.dynamics.com/api/data/v.9.1/
  • B. https://dev.crm.dynamics.com/api/discovery/v9.1/Instances
  • C. https://dev.crm.dynamics.com/api/discovery/v9.1/Instances(UniqueName='myorg')
  • D. https://disco.crm.dynamics.com/api/discovery/v9.1/
  • E. https://globaldisco.crm.dynamics.com/api/discovery/v9.1/Instances
Show Suggested Answer Hide Answer
Suggested Answer: CE 🗳️
C: Organization information is stored in the Instance entity of the Discovery service. To see the kind of information contained in that entity, send an HTTP GET request to the service for one of your instances.
GET https://dev.{servername}/api/discovery/v9.0/Instances(UniqueName='myorg')
In the above example, the discovery service is used to obtain the organization information of the instance with a unique name of "myorg".
Reference:
https://docs.microsoft.com/en-in/dynamics365/customerengagement/on-premises/developer/webapi/discover-url-organization-web-api https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/webapi/samples/global-discovery-service-csharp

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
paulcab
Highly Voted 4 years, 9 months ago
I think the answer should be Band E, C would return just one endpoint for a specific instance (myorg) To Retrieve a list of available instances, GET https://dev.{servername}/api/discovery/v9.0/Instances
upvoted 11 times
cdle
4 years, 8 months ago
I agree with that, B and E. In both cases if you only put /Instances on the url you get the list of instances the user has access to, which is what we want. For the links on the answer: "If you leave out the GUID, all instances that the authenticated user has access to are returned."
upvoted 4 times
Chrissi
4 years, 6 months ago
I also agree with B and E. You need to use /Instances on the url to get a list of all instances that the user has access to.
upvoted 1 times
Chrissi
4 years, 6 months ago
I changed my mind. In my opinion the answers are D and E. globaldisco is also an option. We need to add /Instances to D to get a list of all instances that the user has access to.
upvoted 1 times
...
...
...
...
SonGoku
Most Recent 4 years, 4 months ago
For Options C and E, we need to write C# code and get the access for Test Team. The question has been framed in a way that we are the developer and need to identify the access for Test Team. So, considering that, C and E could be the answer here.
upvoted 1 times
...
jkaur
4 years, 4 months ago
CE is correct
upvoted 1 times
RandomUser
4 years, 4 months ago
E would be correct if it were using v1 or v2 of the API. There is no v9.1 of GlobalDisco
upvoted 4 times
...
...
Karlomanio
4 years, 5 months ago
The answers are B and C. From the given link, https://docs.microsoft.com/en-in/dynamics365/customerengagement/on-premises/developer/webapi/discover-url-organization-web-api, it says: "Get the details of a specific instance. If you leave out the GUID, all instances that the authenticated user has access to are returned. GET https://dev.{servername}/api/discovery/v9.0/Instances(<guid>)"
upvoted 2 times
...
killuah0190
4 years, 7 months ago
For me it is D and E, allthough for D you need to add /Instances at the end of the url. A is the Path to the web api of ONE instance and B & C are invalid urls (they hardcoded point to a instance named 'dev', but even changing dev to youre orgUniqueName doesn't make the url valid)
upvoted 1 times
RominaT
4 years, 7 months ago
It's not hardcoded: https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/webapi/discover-url-organization-web-api
upvoted 2 times
...
...
Chitrara1
4 years, 7 months ago
A and D is the correct answer
upvoted 1 times
...
Chitrara1
4 years, 7 months ago
HTTP REST API providing connection information for the set of Dynamics 365 instances to which the caller has access. https://disco.crm.dynamics.com/api/discovery/v9.1/
upvoted 1 times
...
mgharably
4 years, 9 months ago
I created a trial online organization give me those URLs in A,D check the screenshot: https://traxconsulting-my.sharepoint.com/personal/mgharably_trax-group_com/Documents/shared%20Online/discoverurl.png I guess the confusion in how we will use the URLs -A,D if we use Get HTTP request in the browser within our logged in user -C,E if we will use C# code and get the user access token UserPasswordCredential cred = new UserPasswordCredential(username, password); authResult = authContext.AcquireTokenAsync(northAmericaResourceUrl, clientId, cred).Result;
upvoted 1 times
...
sanharshu7
4 years, 10 months ago
correct CE https://docs.microsoft.com/en-gb/powerapps/developer/common-data-service/webapi/discover-url-organization-web-api
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago