microsoft pl-400 practice test

microsoft power platform developer

Last exam update: Sep 01 ,2024
Page 1 out of 34. Viewing questions 1-10 out of 347

Question 1

HOTSPOT You work for a not-for-profit agency that manages business processes by using Power Platform custom entities.
Volunteer registration and onboarding are manual processes that include multiple related entities.
You need to implement a portal solution that replaces the manual processes.
Which modules should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Answer:


Box 1: Customer self-service portal
Customer self-service portal: A customer self-service portal enables customers to access self-service knowledge, support resources, view the progress of their cases, and provide feedback.
Incorrect Answers:
Community portal: A community portal leverages peer-to-peer interactions between customers and experts to organically grow the catalog of available knowledge from knowledge base articles, forums, and blogs as well as providing feedback through comments and ratings.
Starter portal: If you select an environment that contains Microsoft Dataverse, you can create a Dataverse starter portal. The Dataverse starter portal comes with the sample data for you to quickly get started. It also has the following built-in sample pages:

Default studio template -

Page with title -

Page with child links -

Box 2: Entity form metadata -
The Advanced Form Metadata contains additional behavior modification logic to augment or override the functionality of form fields that is otherwise not possible with native basic form editing capabilities.
Reference:
https://docs.microsoft.com/en-us/powerapps/maker/portals/portal-templates https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-web-form-metadata

Discussions
0 / 1000

Question 2

DRAG DROP A company has a Common Data Service (CDS) environment.
All accounts in the system with a relationship type of Customer set must have an account number. A plug-in has been developed.
When a Customer is updated with a relationship type, the plug-in sets the account number if not provided by the user.
You need to register the plug-in.
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.
Select and Place:

Answer:


Step 1: In the Plug-in Registration tool, select Register New Assembly.
You use the Plug-in Registration tool (PRT) to register your plug-in assemblies and steps.
Registering an assembly is the process of uploading the assembly to the Dataverse database.
Step 2: In the Plug-in Registration tool, Select Register New Step,..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.
Step 3: In the Plug-in Registration tool, Select Register New Image, change the Image type to be a PreImage, and..
If your plug-in step is registered in the PreValidation or PreOperation stages of the execution pipeline, you could use the Organization service to retrieve the current value of the property, but this is not a good practice for performance. A better practice is to define a pre-entity image with your plug-in step registration.
Reference:
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/register-plug-in

Discussions
0 / 1000

Question 3

HOTSPOT You are synchronizing company data from a SQL Server-based .NET application into a Common Data Service (CDS) environment.
The data is entered in both the SQL Server and CDS systems.
You have a program that includes the following code:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Answer:


Box 1: No.
An alternate key is needed, not a new field for the record identifier.

Box 2: Yes -
The specified key attributes are not a defined key for the account entity.

Name: EntityKeyNotDefined -
Message: The specified key attributes are not a defined key for the {0} entity

Box 3: Yes -
One way to create an entity is by using the UpsertRequest class. An upsert will create a new entity when there is no existing record that has the unique identifiers included in the entity passed with the request.

Box 4: No -
Reference:
https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/org-service/web-service-error-codes https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/org-service/entity-operations-update-delete#use-upsert

Discussions
0 / 1000

Question 4

DRAG DROP You are creating a PowerApps connector between Dynamics 365 Sales and Slack.
You must generate a Slack notification whenever a new product is added to Dynamics 365 Sales. You must not be required to sign in directly into Dynamics 365
Sales to generate notifications. You created a Power Apps connector between Dynamics 365 Sales in Slack to enable this to happen.
You need to configure the appropriate security for each scenario.
Which security components should you configure?
NOTE: Each correct selection is worth one point.
Select and Place:

Answer:


Box 1: Security roles -
A security role defines how different users, such as salespeople, access different types of records. To control access to data, you can modify existing security roles, create new security roles, or change which security roles are assigned to each user. Each user can have multiple security roles.
Security role privileges are cumulative: having more than one security role gives a user every privilege available in every role.
Each security role consists of record-level privileges and task-based privileges.

Box 2: OAuth -
Oauth 2.0 is the most frequently used type, which uses the Oauth 2 authentication framework to authenticate with the service. Before using this authentication type, you'll need to register your application with the service so that it can receive access tokens for the users.
For example, Register the application in Azure AD shows how to register an application with the Azure Active Directory service.
During the connection creation process, the user will be asked to enter the credentials for login to the service. These credentials will be used by the application to get an authorization token. For every request, this authorization token will be sent to your service through the Authorization header.

Box 3: Basic Authentication -
Basic Authentication is the simplest type of authentication, where the user just has to provide the username and password to create the connection.
Note: Before using any connector in Azure Logic Apps, Microsoft Power Automate, or Microsoft Power Apps, the user needs to create a connection by authenticating to the backend service.

Authentication types -
The different types of authentication that are currently supported are:

No authentication -

Basic authentication -

Api Key based authentication -

Oauth 2.0 -
Reference:
https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/admin/security-roles-privileges https://docs.microsoft.com/en-us/connectors/custom-connectors/connection-parameters

Discussions
0 / 1000

Question 5

You need to resolve CustomerB's issues with the check-in application.
Which two options can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  • A. Change LookUp to Filter
  • B. Change Filter to LookUp
  • C. Change Search to LookUp
  • D. Change LookUp to Search
Answer:

ad

User Votes:
A
50%
B
50%
C
50%
D
50%

CustomerB reports that the check-in app returned only one search result for their last name, which is not the correct name.
A: The Filter function finds records in a table that satisfy a formula. Use Filter to find a set of records that match one or more criteria and to discard those that don't.
D: The Search function finds records in a table that contain a string in one of their columns.
Incorrect:
Not B, not C: The LookUp function finds the first record in a table that satisfies a formula. Use LookUp to find a single record that matches one or more criteria.
Reference:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-filter-lookup

Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 6

You need to create the customer mobile app.
Which type of function expression should you use?

  • A. Filter
  • B. Find
  • C. LookUp
Answer:

c

User Votes:
A
50%
B
50%
C
50%

The LookUp function finds the first record in a table that satisfies a formula. Use LookUp to find a single record that matches one or more criteria.

Scenario: Mobile app -
A custom mobile app must be created to allow salespeople to add or search by pharmacy name.
Pharmacy records must be uniquely identified by pharmacy name, address, contact name, and phone number.
Reference:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-filter-lookup

Discussions
vote your answer:
A
B
C
0 / 1000

Question 7

DRAG DROP An international organization has a series of client-server applications that manage red light cameras and traffic violations across a wide geographic region. The daily volume of traffic violations is very high and growing.
You plan to use Microsoft Power Platform apps to manage the following types of data:
Existing vehicle licensing data must be imported into Microsoft Dataverse and easily queried.
Red light camera images must be stored in a repository for later analysis.
Information about traffic violations must be stored and related to vehicle details.
You need to select data storage mechanisms for the new apps.
Which data storage mechanisms should you use? To answer, drag the appropriate data storage mechanisms to the correct data types. Each storage mechanism 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.
Select and Place:

Answer:


Box 1: Entity -
Existing vehicle licensing data must be imported into Microsoft Dataverse and easily queried.
Virtual tables (also known as virtual entities) enable the integration of data residing in external systems by seamlessly representing that data as tables in Microsoft
Dataverse, without replication of data and often without custom coding.
A virtual table is a definition of a table in the Dataverse platform without the associated physical tables for table instances created in the Dataverse database.
Instead during runtime, when a table instance is required, its state is dynamically retrieved from the associated external system.
The following data providers ship with Dataverse:
An OData v4 provider is included with the service and is installed by default. This provider supports create, read (retrieve, retrieve multiple), update and delete operations.

An Azure Cosmos DB -

Box 2: Azure Storage Blob -
Red light camera images must be stored in a repository for later analysis.
Use Azure Storage Blob for binary data.
Azure Blob storage stores massive amounts of unstructured object data, such as text or binary data.

Box 3: Azure Cosmos DB -
Information about traffic violations must be stored and related to vehicle details.
Reference:
https://docs.microsoft.com/en-us/power-apps/developer/data-platform/virtual-entities/get-started-ve https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blobs-introduction

Discussions
0 / 1000

Question 8

DRAG DROP You are developing a Power Platform solution. You are modifying a business process flow. You have created a new radial knob for the Total amount value and have added the radial knob to the form.
The Total amount value must be entered at initiation before moving to the next step.
You need to configure the business process flow.
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.
Select and Place:

Answer:


Step 1: Add another step to the business process flow.
Configure custom controls on a related entity form
In this version of the preview, the easiest way to add custom controls to a BPF is to begin by adding them to a form of the entity that the BPF stage is defined on.
In our example, the Budget Amount and Decision Maker steps of the Qualify stage are defined on the Lead entity. We begin by adding these fields to the Lead main form, and then configure the radial knob and flip switch custom controls for them.
Step 2: Open the business process in the Business Process Flow designer and select Activate/Update.
Generate and export the BPF form
To generate the form for a business process you want to add custom controls to, open the business process in the BPF designer and click on Activate/Update.
Step 3: Copy custom control configurations to the business process flow FormXML for the related entity form.
Copy custom control configurations to the BPF FormXML
To add custom controls to the BPF, we begin by copying the custom control configurations from the Lead entity form that we just exported. To do this, we begin by viewing the FormXML for the Lead entity form, which can be found in the 'customizations' file in the solution zip file.
Step 4: Import the solution into Dataverse.
Import customizations into the CDS (aka Dataverse) environment
Now that we're done making our changes, save the customizations.xml document and add it to the managed solution zip file containing the BPF, replacing the file within it.
Next, import these changes into your CDS environment by going to the Solutions tab in the PowerApps portal and click 'Import'.
Reference:
https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Preview-Custom-Controls-in-Business-Process-Flows/ba-p/263237

Discussions
0 / 1000

Question 9

You plan to populate records in a Microsoft Dataverse entity containing an option set field.
The source system has the label for the option set but not the corresponding integer value.
You are using a non .NET programming language.
You need to find the integer value for the option set.
What should you do?

  • A. Use Web API and use a PicklistAttibuteMetadata request.
  • B. Use the Organization service and execute a RetrieveOptionSetRequest request.
  • C. Use Web API and use an InsertOptionValue action.
  • D. Use the Organization service and execute a RetrieveAttributeRequest request.
Answer:

b

User Votes:
A
50%
B
50%
C
50%
D
50%

You can retrieve a global choice (option set) by name (label) using the RetrieveOptionSetRequest message.
Reference:
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/org-service/metadata-option-sets

Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 10

HOTSPOT You need to correct the portal query issues.
Which code should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Answer:


Scenario: The query for all registered users must return the data categorized by division. Queries must return only the Name and Sport fields. Queries return all fields. The query is as follows:

Box 1: GET ..$select=name, sport
Use select to return only the Name and Sport fields.
Box 2: $apply(groupby(sport ne null)
Categorize by division, that is to sports.

Discussions
0 / 1000
To page 2