ExamGecko
Home Home / Microsoft / PL-400

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

Question list
Search
Search

List of questions

Search

Related questions











HOTSPOT

You create a Power Platform solution to track purchasing requirements for bills of material (BOMs) and their subcomponents.

The solution must meet the following requirements:

Ensure that the BOMs are enabled to include the necessary subcomponents.

Report changes to the BOMs or their sub-components that are made by engineers.

You need to configure the solution.

What should you do to meet each requirement? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 31
Correct answer: Question 31

Explanation:

Box 1: Configure entity relationship

Box 2: Configure entity change tracking

The change tracking feature in Microsoft Dataverse provides a way to keep the data synchronized in an efficient manner by detecting what data has changed since the data was initially extracted or last synchronized. Previously, without this new feature, it was difficult to build a reliable and efficient mechanism to determine what records had changed in Dataverse.

Reference:

https://docs.microsoft.com/en-us/powerapps/developer/data-platform/use-change-tracking-synchronize-data-external-systems

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than once correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You are designing a one-way integration from the Common Data Service to another system.

You must use an Azure Function to update the other system. The integration must send only newly created records to the other system. The solution must support scenarios where a component of the integration is unavailable for more than a few seconds to avoid data loss.

You need to design the integration solution.

Solution: Register a service endpoint in the Common Data Service that connects to an Azure Service Bus queue.

Create and register an Azure-aware plug-in that uses the service endpoint.

Register a step on the plug-in that runs asynchronously on the record's Create message and in the post-operation stage.

Configure the Azure Function to process records as they are added to the queue.

Does the solution meet the goal?

A.

Yes

A.

Yes

Answers
B.

No

B.

No

Answers
Suggested answer: A

Explanation:

Plug-ins are one of two methods used to initiate posting the message containing the data context to the Azure Service Bus, the other method being a custom workflow activity.

Note: Microsoft Dataverse supports integration with Azure.

For the Dataverse and Azure connection to work, there must be at least one solution in an Azure Service Bus solution account, where the solution contains one or more service endpoints.

For a queue endpoint contract, a listener doesn't have to be actively listening.

Reference:

https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/azure-integration

HOTSPOT

You create an alternate key named AlternateKey1 on the Account entity. The definition for AlternateKey1 is shown in the following exhibit:

Use the drop-down menus to select the answer choice that answers each question based on the information presented in the graphic.

NOTE: Each correct selection is worth one point.


Question 33
Correct answer: Question 33

Explanation:

Box 1: The combination of Account Number and Account Name must be unique

With alternate keys you can now define a column in a Dataverse table to correspond to a unique identifier or unique combination of columns.

Box 2: Delete AlternateKey1 and re-create it with all three fields

Reference:

https://docs.microsoft.com/en-us/powerapps/developer/data-platform/define-alternate-keys-entity

HOTSPOT

A delivery service uses a canvas app to track and deliver packages. The app uses SQL Server as a data store. The database includes the following tables:

The app includes the following code to save all required information. (Line numbers are included for reference only.)

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 34
Correct answer: Question 34

Explanation:

The ClearCollect function deletes all the records from a collection.

Syntax: ClearCollect( Collection, Item, ... )

Collection Ц Required. The collection that you want to clear and then add data to.

Item(s) - Required. One or more records or tables to add to the data source.

Box 1: Yes

The Patch function in Power Apps modifies or creates one or more records in a data source, or merges records outside of a data source.

Use Patch with the Defaults function to create records.

Box 2: No

The return value of Patch is the record that you modified or created. If you created a record, the return value may include properties that the data source generated automatically. However, the return value doesn't provide a value for fields of a related table.

For example, you use Set(MyAccount, Patch(Accounts, First(Account), 'Account Name': "Example name"); and then MyAccount.'Primary Contact'.'Full Name'. You can't yield a full name in this case. Instead, to access the fields of a related table, use a separate lookup such as:

LookUp(Accounts, Account = MyAccount.Account).'Primary Contact'.'Full Name

Box 3: Yes

Box 4: Yes

Merge records outside of a data source.

Specify two or more records that you want to merge. Records are processed in the order from the beginning of the argument list to the end, with later property values overriding earlier ones.

Patch returns the merged record and doesn't modify its arguments or records in any data sources.

Reference:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-clear-collect-clearcollect

You need to ensure that Adventure Works Cycles can track information from visitors to bike fairs.

What should you create?

A.

a Power Automate flow that connects with the bike fair Power Apps app to create a lead in Dynamics 365 Sales

A.

a Power Automate flow that connects with the bike fair Power Apps app to create a lead in Dynamics 365 Sales

Answers
B.

a Power Automate flow that generates a new customer record in SharePoint.

B.

a Power Automate flow that generates a new customer record in SharePoint.

Answers
C.

a Power Automate flow to capture customer data from the bike fair Power Apps app in SharePoint and create a lead in Microsoft Teams.

C.

a Power Automate flow to capture customer data from the bike fair Power Apps app in SharePoint and create a lead in Microsoft Teams.

Answers
D.

a business process flow in Dynamics 365 Sales for capturing leads.

D.

a business process flow in Dynamics 365 Sales for capturing leads.

Answers
Suggested answer: A

Explanation:

Scenario:

Qualified leads must be collected from local bike fairs.

Adventure Works Cycles uses a Power Apps app for local bike fairs to attract new customers.

By using a Dynamics 365 connector, you can create flows that initiate when an event occurs in Dynamics 365, or some other service, which then performs an action in Dynamics 365, or some other service.

In Power Automate, you can set up automated workflows between your favorite apps and services to synchronize files, get notifications, collect data, and more.

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

You need to reduce the number of Azure consumption API calls for User2.

Which markup segment should you use?

A.


A.


Answers
B.


B.


Answers
C.


C.


Answers
D.


D.


Answers
Suggested answer: C

Explanation:

Scenario: User2 reports that Azure consumption for API calls has increased significantly to 100 calls per minute in the last month.

Example:

In the following example, the rate limit of 10 calls per 60 seconds is keyed by the caller IP address. After each policy execution, the remaining calls allowed in the time period are stored in the variable remainingCallsPerIP. <policies>

<inbound>

<base />

<rate-limit-by-key calls="10" renewal-period="60"

increment-condition="@(context.Response.StatusCode == 200)" counter-key="@(context.Request.IpAddress)"

remaining-calls-variable-name="remainingCallsPerIP"/>

</inbound>

<outbound>

<base />

</outbound>

</policies>

Note: The rate-limit-by-key policy prevents API usage spikes on a per key basis by limiting the call rate to a specified number per a specified time period. The key can have an arbitrary string value and is typically provided using a policy expression. Optional increment condition can be added to specify which requests should be counted towards the limit. When this call rate is exceeded, the caller receives a 429 Too Many Requests response status code.

Incorrect Answers:

A: With renewal-period="30" 200 calls/minute would be allowed. B: This would increase the calls/minute limit to 1000.

Reference: https://docs.microsoft.com/en-us/azure/api-management/api-management-access-restriction-policies

A company is creating a Power Apps portal to collaborate with vendors.

You need to implement custom functionality in the portal by using JavaScript code.

Which two portal entities can you use? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A.

Web pages

A.

Web pages

Answers
B.

Web resources

B.

Web resources

Answers
C.

Webforms

C.

Webforms

Answers
D.

Entity lists

D.

Entity lists

Answers
Suggested answer: C, D

Explanation:

C: The Web Form Step record contains a field named Custom JavaScript that can be used to store JavaScript code to allow you to extend or modify the form's visual display or function.

D: You can add custom Javascripts to Entity lists.

Reference: https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/add-custom-javascript https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/entity-lists#add-custom-javascript

You are developing an app that uses Common Data Service.

You must integrate Common Data Service with a new web application. You must allow the new web application to display data from Common Data Service.

You build a single-page web application using the Web API.

You need to authenticate your app using OAuth. What should you use?

A.

Windows Communication Foundation (WCF)

A.

Windows Communication Foundation (WCF)

Answers
B.

Cross-Origin Resource Sharing (CORS)

B.

Cross-Origin Resource Sharing (CORS)

Answers
C.

Microsoft Authentication Library (MSAL)

C.

Microsoft Authentication Library (MSAL)

Answers
D.

Kerberos authentication

D.

Kerberos authentication

Answers
E.

Active Directory Authentication Library (ADAL)

E.

Active Directory Authentication Library (ADAL)

Answers
Suggested answer: B

Explanation:


You are creating a custom connector in Power Apps to connect to a third-party application.

The definition in the connector must be set so that it is not visible to the end user.

You need to select the appropriate visibility parameter.

Which parameter should you use?

A.

important

A.

important

Answers
B.

none

B.

none

Answers
C.

internal

C.

internal

Answers
D.

advanced

D.

advanced

Answers
Suggested answer: C

Explanation:

Leave the Visibility property set to none. This property for operations and parameters in a logic app or flow has the following options: none: displayed normally in the logic app or flow advanced: hidden under an additional menu internal:

hidden from the user important: always shown to the user first

Reference: https://docs.microsoft.com/en-us/connectors/custom-connectors/define-blank

A client requires that the system send an email from a button on their customer contact form.

You need to call the action from JavaScript.

Which two functions achieve this result? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A.

Xrm.WebApi.online.executeMultiple()

A.

Xrm.WebApi.online.executeMultiple()

Answers
B.

Xrm.WebApi.online.updateRecord()

B.

Xrm.WebApi.online.updateRecord()

Answers
C.

Xrm.WebApi.online.createRecord()

C.

Xrm.WebApi.online.createRecord()

Answers
D.

Xrm.WebApi.online.execute()

D.

Xrm.WebApi.online.execute()

Answers
Suggested answer: A, D

Explanation:

Xrm.WebApi.online.executeMultiple executes a collection of action, function, or CRUD operations.

Xrm.WebApi.online.execute executes a single action, function, or CRUD operation.

Reference:

https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-webapi/online/executemultiple https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-webapi/ online/execute

Total 350 questions
Go to page: of 35