ExamGecko
Home Home / Microsoft / PL-400

Microsoft PL-400 Practice Test - Questions Answers, Page 9

Question list
Search
Search

List of questions

Search

Related questions











DRAG DROP

A developer must register a step using the Plug-in registration tool.

You need to associate the correct Event Pipeline Stage of Execution with its purpose.

Which stage should you associate with each description? To answer, drag the appropriate stages to the correct descriptions. Each stage may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.


Question 81
Correct answer: Question 81

Explanation:

Box 1: PreValidation

For the initial operation, this stage will occur before the main system operation.

This provides an opportunity to include logic to cancel the operation before the database transaction.

Box 2: PreOperation

PreOperation occurs before the main system operation and within the database transaction.

If you want to change any values for an entity included in the message, you should do it here.

Box 3: PostOperation

Occurs after the main system operation and within the database transaction.

Use this stage to modify any properties of the message before it is returned to the caller.

Incorrect Answers:

MainOperation: For internal use only except for Custom API and Custom virtual table data providers.

Reference:

https://docs.microsoft.com/en-us/powerapps/developer/data-platform/event-framework

HOTSPOT

An organization has a custom Assignments entity that guides agent actions. Team leaders for each assignment group must be able to review any changes made to assignment data by their agents.

You have the following JSON segment:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.


Question 82
Correct answer: Question 82

Explanation:

Box 1: Yes Delta query lets you query for additions, deletions, or updates to users, by way of a series of delta function calls. Delta query enables you discover changes to users without having to fetch the entire set of users from Microsoft Graph and compare changes.

Box 2: No

Tracking user changes Tracking user changes is a round of one or more GET requests with the delta function. You make a GET request much like the way you list users, except that you include the following:

The delta function.

A state token (deltaToken or skipToken) from the previous GET delta function call.

Delta tokens are only valid for a specific period before the client application needs to run a full synchronization again. For directory objects (application, administrativeUnit, directoryObject, directoryRole, group, orgContact, oauth2permissiongrant, servicePrincipal, and user), the limit is 7 days.

Box 3: No

There is limited support for $filter:

The only supported $filter expression is for tracking changes on a specific object: $filter=id+eq+{value}.

Box 4: Yes

Reference:

https://docs.microsoft.com/en-us/graph/api/user-delta

HOTSPOT

A training company implements a Common Data Service (CDS) environment. The company has created and stores information about courses in a custom entity.

A Power Automate flow must be created whether a course has been created that starts within the next seven days and must be accurate to the minute.

You need to define an expression that meets the requirements.

Which functions should you use for the expression? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 83
Correct answer: Question 83

Explanation:

Box 1: less

less checks whether the first value is less than the second value. Return true when the first value is less, or return false when the first value is more.

Box 2 : ticks

ticks(timestamp: string) - Returns the number of ticks (100 nanoseconds interval) since 1 Jan 1601 00:00:00 UT

Syntax: ticks('<timestamp>')

Box 3: triggerBody

triggerBody returns a trigger's body output at runtime.

Box 4: ticks

Box 5: getFutureTime getFutureTime teturn the current timestamp plus the specified time units.

Syntax: getFutureTime(<interval>, <timeUnit>, <format>?)

Reference:

https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference

DRAG DROP

A company uses Dynamics 365 Sales.

Sales commission must be calculated when an order is placed. You create an Azure Function to perform the calculation. The Azure Function has an HTTP trigger.

You need to configure the Plug-in Registration tool to send data to the Azure Function when an order is placed. You open the Plug-in Registration tool and connect to Dynamics 365 Sales.

Which three 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.


Question 84
Correct answer: Question 84

Explanation:

Step 1:SelectRegister New Web Hook.

Configure Dynamics 365 Sales to Call Your Webhook in Azure Functions

1. Open the Plug-in Registration Tool and connect to your organization.

2. Select Register->Register New Web Hook

Step 2: Enter the endpoint URL

Step 3: Register a New Step for Create of SalesOrder.

Register a new webhook, and then tie that webhook to an event in Dynamics 365 Sales. Select your newly registered webhook, right-click it, and then choose "Register New Step."

Note that the webhook here is set to execute whenever a change to an account record is detected within Dynamics 365 Sales.

Reference:

https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/tutorial-write-plug-in

HOTSPOT

A travel agency uses Dynamics 365 Sales.

Customers are allowed to add up to three regions to their travel preferences from the website. Customer preferences must be stored in the Contact entity. An error message must display if customers enter data incorrectly. You create a plug- in.

You need to register the plug-in to meet the requirements.

Which value should you apply for each parameter? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 85
Correct answer: Question 85

Explanation:

Box 1: associate

Box 2: contact

Customers are allowed to add up to three countries/regions to their travel preferences from the website. Their preferences must be stored in the Contact entity.

Box 3: region

Box 4: synchronous

Reference:

https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/tutorial-write-plug-in

The communication department for a company plans to add a publicly accessible survey page to the company's public website.

You must add the new survey page to the company's public website and capture data from the page to a Common Data Service environment.

Explicit user credentials must not be required to write survey data to Common Data Service.

You need to implement authentication.

Which authentication mechanism should you implement?

A.

Microsoft 365

A.

Microsoft 365

Answers
B.

X.509 certificate

B.

X.509 certificate

Answers
C.

Azure AD Conditional Access

C.

Azure AD Conditional Access

Answers
D.

Claims-based

D.

Claims-based

Answers
Suggested answer: C

Explanation:

With Azure AD Conditional Access the users are authenticated by Azure Active Directory (Azure AD).Incorrect Answers:A: Using Microsoft 365 authentication does not require that your register your applications as OAuth does. You must simply provide a User Principal Name (UPN) and password for a valid user.

Reference:https://docs.microsoft.com/en-us/power-platform/admin/wp-security

You are deploying a Power Apps app that uses the custom connector for ServiceNow.

The app loads very slowly for some users. You determine that all records from ServiceNow are being retrieved for every user.

The app must load only incidents that are assigned to each user.

You need to limit the number of records that the connector returns.

What should you do?

A.

Apply a Lifecycle Services asset scope

A.

Apply a Lifecycle Services asset scope

Answers
B.

Apply a business process flow

B.

Apply a business process flow

Answers
C.

Apply the Azure APIM parameter

C.

Apply the Azure APIM parameter

Answers
D.

Apply a connector policy template

D.

Apply a connector policy template

Answers
Suggested answer: D

Explanation:

You can configure policy templates for custom connectors. 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.

Note: ServiceNow Action: GetRecords

Summary: List Records

Description: Gets records of a certain ServiceNow object type like 'Incidents'

Syntax:ServiceNow.GetRecords (string tableType, [advanced][Optional]boolean sysparm_display_value, [advanced][Optional]boolean sysparm_exclude_reference_link, [advanced][Optional]string sysparm_query, [advanced][Optional]integer

sysparm_limit, [advanced][Optional]integer sysparm_offset)

Reference:

https://docs.microsoft.com/en-us/learn/modules/policy-templates-custom-connectors/

https://www.carlosag.net/PowerApps/Connectors/ServiceNow

A company is developing multiple plug-ins.

One of the plug-ins keeps failing.

You need to debug the plug-in.

Which three actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A.

Highlight the plug-in step and select Debug in the Plug-in Registration tool

A.

Highlight the plug-in step and select Debug in the Plug-in Registration tool

Answers
B.

Copy the .pdb file into the server/bin/assembly folder

B.

Copy the .pdb file into the server/bin/assembly folder

Answers
C.

Select Start Profiling in the Plug-in Registration tool

C.

Select Start Profiling in the Plug-in Registration tool

Answers
D.

Attach the debugger to the w3wp.exe process

D.

Attach the debugger to the w3wp.exe process

Answers
E.

Install the plug-in profiler

E.

Install the plug-in profiler

Answers
Suggested answer: A, C, E

Explanation:

Step 1: Install plug-in profiler

Because the plug-in executes on a remote server, you cannot attach a debugger to the process. The plug-in profiler captures a profile of an executing plug-in and allows you to re-play the execution of the plug-in using Visual Studio on your local computer.

Step 2: Start profiling

1. In the Plug-in Registration tool, select the (Step) BasicPlugin.FollowupPlugin: Create of account step, and click Start Profiling.

2. In the Profiler Settings dialog accept the default settings and click OK to close the dialog.

Step 3: Debug your plug-in

Reference:

https://docs.microsoft.com/en-us/powerapps/developer/data-platform/tutorial-debug-plug-in

You have a Common Data Service entity and a model-driven app. The model-driven app integrates with an external system.

You plan to run business logic each time the model-driven app creates a record. Running business logic must not negatively affect model-driven app users.

You need to implement the business logic.

What should you use?

A.

Synchronous plug-in registered in the PreOperation stage

A.

Synchronous plug-in registered in the PreOperation stage

Answers
B.

Synchronous workflow

B.

Synchronous workflow

Answers
C.

Asynchronous plug-in registered in the PostOperation stage

C.

Asynchronous plug-in registered in the PostOperation stage

Answers
Suggested answer: C

Explanation:

The asynchronous service executes long-running operations independent of the main Microsoft Dataverse core operation. This results in improved overall system performance and improved scalability.

Reference: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/asynchronous-service

A manufacturing company uses a Common Data Service (CDS) environment to manage their parts inventory across two warehouses modeled as business units and named WH1 and WH2.

Data from the two warehouses is processed separately for each part that has its inventory quantities updates. The company must automate this process, pushing inventory updates from orders submitted to the warehouses.

You need to build the automation using Power Automate flows against the CDS database. You must achieve this goal by using the least amount of administrative effort.

Which flow or flows should you recommend?

A.

Two automated flows with scope Business Unit, with triggers on Create/Update/Delete on orders.

A.

Two automated flows with scope Business Unit, with triggers on Create/Update/Delete on orders.

Answers
B.

Two automated flows with scope Business Unit, with triggers on Create/Update/Delete and each flow filtering updates from each business unit.

B.

Two automated flows with scope Business Unit, with triggers on Create/Update/Delete and each flow filtering updates from each business unit.

Answers
C.

Two scheduled flows, each querying and updating the parts included in orders from each business unit.

C.

Two scheduled flows, each querying and updating the parts included in orders from each business unit.

Answers
D.

One scheduled flow, querying the parts included in orders in both business units.

D.

One scheduled flow, querying the parts included in orders in both business units.

Answers
E.

One automated flow, querying the orders in both business units.

E.

One automated flow, querying the orders in both business units.

Answers
F.

Two scheduled flows, each querying the orders from each business unit.

F.

Two scheduled flows, each querying the orders from each business unit.

Answers
G.

Two automated flows with scope Organization, with triggers on Create/Update/Delete and filters on WH1 and WH2.

G.

Two automated flows with scope Organization, with triggers on Create/Update/Delete and filters on WH1 and WH2.

Answers
H.

Two automated flow with scope Business Unit, with triggers on Create/Update/Delete on orders and filters on WH1 and WH2.

H.

Two automated flow with scope Business Unit, with triggers on Create/Update/Delete on orders and filters on WH1 and WH2.

Answers
Suggested answer: H

Explanation:

With the Common Data Service connector, you can create Power Automate flows that are initiated by create and update events within Dataverse. Additionally, you can perform create, update, retrieve, and delete actions on records within

Dataverse.

You can use scopes to determine if your flow runs if you create a new record, if a new record is created by a user within your business unit, or if a new record is created by any user in your organization.

Reference: https://docs.microsoft.com/en-us/power-automate/connection-cds

Total 350 questions
Go to page: of 35