exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 5 question 43 discussion

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

DRAG DROP
-


Case study
-

This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.

To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.

At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.


To start the case study
-
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.


Background
-

Northwind Traders uses Microsoft Dynamics 365 Sales to manage its sales process. To better understand its customers, Northwind Traders invests in a team of researchers who gather data from multiple sources. The company stores the data it collects in a Microsoft Azure SQL Database. The company plans to use the data to enrich account records and make the sales team more effective.


Current environment
-


Environment
-

• The company has three Microsoft Power Platform environments with Dynamics 365 Sales installed. The environments are named development, test, and production.
• Each environment has an application user that can be used for integrations.
• The company must use solutions to perform all customization and configuration deployment.


Data
-

• Researchers are responsible for creating account records.
• Researchers have permissions on the Account table to create records, read all records, and update records they own.
• A synchronous plug-in runs when an account record is created and could reassign the record to a different user.
• Users must access data as themselves to enforce security and audit changes.
• A column named new_dataid is added to the Account table. The column uniquely identifies which data it should receive.
• Researchers have researched only the top 20 percent of account records.


Web API
-

• The company creates an Azure Function to run a RESTful .NET Web API.
• Data can be retrieved by placing a GET request to the URL https://dataservice-[ENVIRONMENTNAME].azurewebsites.net/enrich/[DATAID].
• [ENVIRONMENTNAME] is the name of the Microsoft Power Platform environment that requests the data.
• [DATAID] is the new_dataid column in the Account table.
• The Web API response will return a 200 response plus data if the DataId is found. Otherwise, a 404 response is returned.
• Developers plan to create a custom connector from the Web API to make it accessible from Microsoft Power Platform.


Requirements
-


Custom connector
-

• The Web API definition used to create the custom connector must be generated based on a low-code technology.
• The URL used by the custom connector must incorporate the current environment name without hardcoding values.
• Errors generated by the custom connector must not cause downstream processes to fail.
• Text descriptions and field placeholder text that describe the use of the custom connector must appear for non-developers.


Process
-

• All account records must be updated with data from the Web API once automatically.
• Only account records that contain a DataId should be updated by the Web API.
• Researchers must create Power Automate flows to specify data analysis priority.
• The researchers require a process that repurposes a set of identical steps of parameterized Microsoft Dataverse queries from a Power Automate flow for use in other flows that have different parameters. The researchers want to avoid recreating the steps manually each time they create a flow to save time and avoid errors.


Issues
-

• A tester attempts to connect to the production instance of the Web API with a DataId that should return data. The tester receives an error stating that the remote name could not be resolved.
• A missing component causes an error to occur when importing the solution that contains the Power Automate flow to update account records in a test environment.


You need to configure the custom connector to incorporate the environment name and DataId in the Web API URL.

Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.

Show Suggested Answer Hide Answer
Suggested Answer:

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
At09
Highly Voted 1 year, 2 months ago
Set the operation to "enrich" Create a policy template that uses the Set host URL template Set the subdomain of the URL template connectionParameters("EnvironmentName") Set the path of the URL template to queryParameters("DataId")
upvoted 6 times
osx
4 months, 3 weeks ago
Policies allow you to modify the behavior of a custom connector at runtime. You can use policies to perform data conversion, route requests, set parameter values, and more. You can configure policies directly in the custom connector API properties file before import, or you can do it from the maker portal in the custom connector designer by applying policy templates. Set host URL - By default, the host URL is hardcoded into the connector configuration. A policy, combined with a connection parameter, allows the host URL to be specified every time you create a connection by using the connector. For example, this use case could handle a dev, test, and production version of the system API. https://learn.microsoft.com/en-us/training/modules/policy-templates-custom-connectors/1-introduction
upvoted 1 times
...
At09
1 year, 2 months ago
correction: policy template should be first
upvoted 7 times
...
...
Juan0414
Most Recent 3 months ago
You need to use the set host URL policy template to dynamically change the URL depending on the environment (and the data id) https://learn.microsoft.com/en-us/connectors/custom-connectors/policy-templates/dynamichosturl/dynamichosturl The order should be: 1. Create a policy template that uses the Set host URL template 2. Set the operation to enrich (We can see here that enrich is the action used to get the data from the API -> Data can be retrieved by placing a GET request to the URL https://dataservice-[ENVIRONMENTNAME].azurewebsites.net/enrich/[DATAID].) 3. Set the subdomain of the URL template to: connectionParameters("EnvironmentName") (Here the approach was that the connection property was modified to include additional parameters like "EnvironmentName", and you can access to those parameters here) 4. Set the path of the URL template to: enrich/@queryParameters("DataId")
upvoted 1 times
...
loftuscheek
3 months, 1 week ago
c policy to set host url set env name create route policy set dataid
upvoted 1 times
...
pey
7 months, 1 week ago
This is the actual sequence of actions: 1. Set the operation to dataservice. 2. Create a policy template that uses the Set host URL template. 3. Set the subdomain of the URL template to: dataservice-@connectionParameters('EnvironmentName'). 4. Set the operation to enrich. 5. Create a policy template that uses the Route request template. 6. Set the path of the URL template path to: enrich/@queryParameters('DataId').
upvoted 2 times
...
hai297
8 months, 1 week ago
IMO, - Create policy set host - Set the operation to enrich (NOT dataservice, dataservice is domain, enrich is action) - Set subdomain - Set path
upvoted 4 times
...
Bubala
10 months, 4 weeks ago
Create Policy Set Host URL Define the subdomain Create policy Route Request Define the Path
upvoted 2 times
...
francesco0928
1 year, 2 months ago
in exam 10/03/23
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 ...