ExamGecko
Home / Microsoft / PL-400 / List of questions
Ask Question

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

List of questions

Question 151

Report
Export
Collapse

DRAG DROP

You are developing a new Power Apps Component Framework (PCF) control.

The control must be deployed to a development environment by using the Power Apps CLI and a new solution.

You need to deploy the PCF control.

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


Microsoft PL-400 image Question 151 106745 10052024010735000
Correct answer: Microsoft PL-400 image answer Question 151 106745 10052024010735000

Explanation:

Step 1: Create a solution

Create a new solutions project using the following command. The solution project is used for bundling the code component into a solution zip file that is used for importing into Dataverse. pac solution init --publisher-name developer --publisher-prefix dev

Step 2: Add a solution reference to the project

Once the new solution project is created, refer the Solutions folder to the location where the created sample component is located. You can add the reference using the command shown below. This reference informs the solution project about which code components should be added during the build. You can add references to multiple components in a single solution project. pac solution add-reference --path c:\downloads\mysamplecomponent

Step 3: Build the project and solution

To generate a zip file from the solution project, go into your solution project directory and build the project using the following command. msbuild /t:build /restore Step 4: Deploy the solution

Reference:

https://docs.microsoft.com/en-us/powerapps/developer/component-framework/import-custom-controls

asked 05/10/2024
Suman Konda
46 questions

Question 152

Report
Export
Collapse

DRAG DROP

You create solutions in a development environment and export the solution for testing by various departments in your organization. Power users in each department control the testing environments.

You must display department-specific wording at the beginning of any custom notifications that are displayed in testing environments.

You need to package solutions to ensure that the power users can customize the notification content.

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


Microsoft PL-400 image Question 152 106746 10052024010735000
Correct answer: Microsoft PL-400 image answer Question 152 106746 10052024010735000

Explanation:

Step 1: Create an empty environment variable named Custom Text Placeholder.

Applications often require different configuration settings or input parameters when deployed to different environments.

Environment variables store the parameter keys and values, which then serve as input to various other application objects.

Separating the parameters from the consuming objects allows you to change the values within the same environment or when you migrate solutions to other environments.

Step 2: Create a function to retrieve the value from the custom text placeholder and display the notification.

Step 3: Export the solution

You can manually export solutions. Microsoft recommends that you create an unmanaged solution to use for exporting your customizations, and then export your customizations periodically so that you have a backup in case anything happens.

Reference: https://docs.microsoft.com/en-us/powerapps/maker/data-platform/environmentvariables

https://docs.microsoft.com/en-us/powerapps/maker/data-platform/export-solutions

asked 05/10/2024
Daniel Skow
32 questions

Question 153

Report
Export
Collapse

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 developing a model-driven app for a company.

When you create a new Account record, you must automatically display a form to collect data that is needed to create a

Contact record. The form must switch to the appropriate form layout based on the contact type.

You open the Contact form by using JavaScript. You pass the contact type information to the form by using the

Xrm.Navigation.openForm function. An OnLoad event handler in the Contact form processes the data and shows only the appropriate sections of the form for the given contact type.

You need to configure the receiving form to accept the data parameter.

Solution: In the form editor, add a web resource that sets formContext.data.attributes.

Does the solution meet the goal?

Yes

Yes

No

No

Suggested answer: B

Explanation:

By default, model-driven apps allows a specified set of query string parameters to be passed to a form. You use these parameters to set default values when you create a new record in the application. Each parameter must use a standard naming convention that includes a reference to the column logical name.

There are two ways to specify which query string parameters will be accepted by the form: Edit form properties Edit form

XML

Reference:

https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/configure-form-accept-custom-querystring- parameters

asked 05/10/2024
FOTIS FOURLIAS
47 questions

Question 154

Report
Export
Collapse

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?

Microsoft 365

Microsoft 365

X.509 certificate

X.509 certificate

OAuth 2.0

OAuth 2.0

Claims-based

Claims-based

Suggested answer: C

Explanation:

OAuth is the preferred means to authenticate because it provides access to both the OData RESTful web services (Web API and OData global Discovery service) as well as to the SOAP web services (Organization service and Discovery service).

OAuth is also required to support:

Azure Active Directory configurations for conditional access, such as Two-factor Authentication (2FA) Use of client secrets to enable server-to-server authentication scenarios.

Cross-Origin Resource Sharing (CORS) to connect a Single-page Application (SPA)

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/powerapps/developer/data-platform/authentication

asked 05/10/2024
Jeffrey Cayao
36 questions

Question 155

Report
Export
Collapse

DRAG DROP

You are developing a Power Platform app for a school. The school plans to use the app to gather information about classes and students.

You must design a plug-in for the app. You must store data about students in the Contacts table and store data about classes in a custom table.

You need to select the stage in the event pipeline for each function.

Which stages should you use? To answer, drag the appropriate plug-in stages to the correct functions. Each plug-in 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.


Microsoft PL-400 image Question 155 106749 10052024010735000
Correct answer: Microsoft PL-400 image answer Question 155 106749 10052024010735000

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

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.

Avoid cancelling an operation here. Canceling will trigger a rollback of the transaction and have significant performance impact.

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.

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

asked 05/10/2024
disserto management gmbh
44 questions

Question 156

Report
Export
Collapse

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.


Microsoft PL-400 image Question 156 106750 10052024010735000
Correct answer: Microsoft PL-400 image answer Question 156 106750 10052024010735000

Explanation:

Step 1:SelectRegister New Web Hook.

Microsoft PL-400 image Question 15 explanation 106750 10052024010735000000

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

Microsoft PL-400 image Question 15 explanation 106750 10052024010735000000

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

asked 05/10/2024
nir avron
38 questions

Question 157

Report
Export
Collapse

A company plans to replicate a Dynamics 365 Sales database into an Azure SQL Database instance for reporting purposes.

The Data Export Service solution has been installed.

You need to configure the Data Export service.

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

NOTE: Each correct selection is worth one point.

Enable auditing for all entities that must be replicated to Azure SQL Database.

Enable auditing for all entities that must be replicated to Azure SQL Database.

Create an export profile that specifies all the entities that must be replicated.

Create an export profile that specifies all the entities that must be replicated.

Set up server-based integration.

Set up server-based integration.

Enable change tracking for all entities that must be replicated to Azure SQL Database.

Enable change tracking for all entities that must be replicated to Azure SQL Database.

Create an Azure SQL Database service in the same tenant as the Dynamics 365 Sales environment.

Create an Azure SQL Database service in the same tenant as the Dynamics 365 Sales environment.

Suggested answer: B, D, E

Explanation:

Reference: https://docs.microsoft.com/en-us/power-platform/admin/replicate-data-microsoft-azure-sql-database

asked 05/10/2024
Hemanth Gangabattula
38 questions

Question 158

Report
Export
Collapse

A company is migrating from an on-premises Dynamics 365 installation to a Power Platform solution. You are creating plugins for the new solution.

You need to register the plug-ins.

Which isolation mode should you use?

None

None

Global Assembly Cache (GAC)

Global Assembly Cache (GAC)

Sandbox

Sandbox

Disk

Disk

Suggested answer: C

Explanation:

You will find options related to the isolation mode and location for the assembly. These refer to options that apply to on-premise deployments. Dataverse is not available for on-premises deployments, so you will always accept the default options of SandBox and Database for these options.

Reference:

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

asked 05/10/2024
Dina Elizabeth Perez de Paz
42 questions

Question 159

Report
Export
Collapse

An organization uses a public-facing Power Apps portal.

You need to change the layout of a specific web page.

What are two possible ways to achieve the goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Select the Portal Management app and then select Edit.

Select the Portal Management app and then select Edit.

Select the Portal Management app and then select Play.

Select the Portal Management app and then select Play.

Select the portal app and then select Manage.

Select the portal app and then select Manage.

Select the portal app and then select Edit.

Select the portal app and then select Edit.

Suggested answer: A, D

Explanation:

A: The Portal Management app lets you do advanced configuration actions on your portal.

1. Open the Portal Management app.

2. Go to Portals > Web Pages.

3. To edit an existing web page, select the web page name.

4. Enter appropriate values in the fields.

5. Select Save & Close.

D: To use the WYSIWYG editor:

1. Edit the portal to open it in Power Apps portals Studio.

2. Select the page on which you want to add the component.

3. Select an editable element on the canvas.

Reference: https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/web-page https://docs.microsoft.com/en- us/powerapps/maker/portals/compose-page

asked 05/10/2024
MAXIM TEN
38 questions

Question 160

Report
Export
Collapse

You are developing a model-driven app. The app uses data from two custom tables. The tables have a parent-child relationship. The parent record form contains a subgrid that displays the child records.

When creating a new child record from the parent form, data must automatically populate in the child record form to reduce data input errors.

You need to implement the solution.

What should you do?

Use a Power Automate flow to read data from the parent record and update the child record upon creation.

Use a Power Automate flow to read data from the parent record and update the child record upon creation.

Map table columns from the parent record to the child record.

Map table columns from the parent record to the child record.

Create a business rule that sets the default values on the child record fields to values from the parent record.

Create a business rule that sets the default values on the child record fields to values from the parent record.

Include a quick view form on the child record showing the data from the parent record.

Include a quick view form on the child record showing the data from the parent record.

Suggested answer: B

Explanation:

A subgrid exists within a main form and let app users view data within a Dataverse table, typically related to the record currently being reviewed.

Reference:

https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/sub-grid-properties-legacy

asked 05/10/2024
Sébastien PIERRE
48 questions
Total 350 questions
Go to page: of 35
Search

Related questions