Microsoft

PL-400 practice question 11

Microsoft Power Platform Developer · free question 11 of 20

Question

A Power Platform solution includes the following Web API call: ```http GET http://contoso.crm.dynamics.com/api/data/v9.1/RelationshipDefinitions?$select=SchemaName ``` You need to explain what this line of code is doing. What does the code do?
  • A. Retrieve the list of relationships between tables. Correct
  • B. Retrieve a list of tables that are related to each other.
  • C. Retrieve a list of one-to-many relationships with other tables.
  • D. Retrieve a list of tables that have more than one relationship.
  • E. Retrieve a list of many-to-many relationships with other tables.

Explanation

The RelationshipDefinitions entity set holds the definitions of the relationships between tables in Dataverse, and $select=SchemaName returns the schema name of every relationship. It returns relationships, not tables, so the options about lists of tables are wrong. It also covers every relationship type: to get only one-to-many or only many-to-many relationships, you would have to cast the query, for example RelationshipDefinitions/Microsoft.Dynamics.CRM.OneToManyRelationshipMetadata.

Need the theory? Learn it free in the PL-400 course on Godlike Academy

Practice the whole free set

Answer all 20 free PL-400 questions with instant feedback, or unlock all 426 questions with Learn and Exam modes.