Microsoft Microsoft Certifications PL-400 Questions & Answers
Question 41:
HOTSPOT
You create a Power Apps component framework component.
You need to test the component.
Which option should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: F12 and select component
Using browser developer tools to debug your code component
Modern browsers have a built-in set of developer tools that allow you to inspect the HTML, CSS, and JavaScript loaded on the current page. You can access these developer tools using the keyboard shortcut Ctrl+Shift+I. Using the F12 key is
also a common keyboard shortcut to open the developer tools.
Box 2: Data Inputs
Data Inputs is an interactive UI that displays all the properties and their types or type-groups defined in the manifest file. The contents of this area are dependent on the properties and datasets defined in the ControlManifest.Input.xml and
allows providing mock data for test purposes.
Box 3: Context Inputs
Context Inputs is shown for all code component types:
*
Form Factor: Provides a way to specify the form factor and test the code component with each form factor (web, tablet, phone). This is helpful when the code component changes its layout depending on where the component is loaded. You can detect the form factor in the code using context.client.getFormFactor().
Use to specify an OData-style expression that defines the data that Dataverse returns from the related tables, such as "primarycontactid($select=contactid,fullname)" to use the account's primarycontactid to retrieve the fullname column from
the related contact with ID contactid in the response.
Box 2: Row Count = 1 and Sort By = creditlimit desc
Row count
Sort by
Use to define an OData-style expression that defines the order in which items are returned, such as "name desc". Use the asc or desc suffix to indicate ascending or descending order, respectively. The default order is ascending.
Contoso, Ltd. has a database that stores proprietary stock market information that the company has accumulated over many years.
You create a RESTful service for the company that exposes specific information about stocks. You must make the service available to the company's brokers. The service must be certified by Microsoft.
You need to create a custom connector for the service APIs.
How should you configure the connector? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1:Contoso, Ltd.
publisher and stackOwner properties
"publisher" is the name of your company or organization. Provide the full company name (for example, "Contoso Corporation"). This must be in alphanumeric format.
"stackOwner" is the owning company or organization of the back-end service stack that the connector is connecting to. This must be in alphanumeric format
Box 2: apiProperties.json
The publisher and stackOwner properties exist as top-level properties within the apiProperties.json file.
A company has a canvas app that has a screen with a gallery of contacts.
Users must be able to search the gallery by last name, email address, and country/region. They must also be able to sort by last name, followed by country/region.
You need to define the expression that meets the requirements.
How should you complete the expression? To answer, select the appropriate options from the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: SortByColums
The SortByColumns function can be used to sort a table based on one or more columns.
The parameter list for SortByColumns provides the names of the columns to sort by and the sort direction per column. Sorting is performed in the order of the parameters (sorted first by the first column, then the second, and so on).
Box 2: Filter
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.
Question 46:
HOTSPOT
You are developing a business process flow.
JavaScript must be used to implement additional business logic in the business process flow.
You need to evaluate the JavaScript code.
What is the result of running each code segment? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: Hides the control in the body of the form. The Client API form context (formContext) provides a reference to the form or to an item on the form, such as, a quick view control or a row in an editable grid, against which the current code is
executed.
setVisible sets a value that indicates whether the control is visible.
Box 2: Add an event handler to enable a function named TestFunction to run when the business process flow stage changes.
addOnStageChange adds a function as an event handler for the OnStageChange event so that it will be called when the business process flow stage changes.
Question 47:
HOTSPOT
You are creating a package for a Power Platform solution. The package will include custom code and sample data.
The package must include all files that need to be installed.
You need to configure the package.
Which setting should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: PackageTemplate.cs
Define custom code for your package in the PackageTemplate.cs file.
Box 2: ImportConfig.xml
The sample data and some flat files for solutions specified in the ImportConfig.xml file are imported before the solution import completes.
Box 3: Copy Always
Set the Copy to Output Directory value to Copy Always. This ensures that your file is available in the generated package.
Question 48:
HOTSPOT
An online store has a custom web page that allows customers to place their orders against a Microsoft Dataverse database that uses custom products. The custom web page uses Web API patterns to create and update records.
Customers report that orders can be placed for out-of-stock items.
You need to update the page code to ensure that inventory is available before confirming an order.
Which pattern should you use for each step? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: IsOptimisticConcurrencyEnabled On a multi-threaded and multi-user system like Power Apps, operations and data changes often happen in parallel. A problem arises when two or more update or delete operations on the same piece of data happen at the same time. This situation could potentially result in data loss. The optimistic concurrency feature provides the ability for your applications to detect whether a table record has changed on the server in the time between when your application retrieved the record and when it tries to update or delete that record.
Box 2: If-Match: Etag Use If-Match and If-None-Match headers with ETag values to check whether the current version of a resource matches the one last retrieved, matches any previous version or matches no version. These comparisons form the basis of conditional operation support. Dataverse provides ETags to support conditional retrievals, optimistic concurrency, and limited upsert operations.
Question 49:
HOTSPOT
You need to complete a Power Apps component framework (PCF) control.
How should you define the order in the manifest? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: 1
The css order element is the order in which the CSS files should load.
Box 2: 1
The html order element is the order in which the HTML files should load.
Question 50:
HOTSPOT
You are developing a Power Platform solution. You plan to add three buttons to a form. The buttons have the following requirements:
You need to complete each button's action.
Which commands should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: Now() only.
The Now function returns the current date and time as a date/time value.
Box 2: Switch() or IF()
If and Switch functions in Power Apps determines whether any condition in a set is true (If) or the result of a formula matches any value in a set (Switch) and then returns a result or executes an action.
Box 3: isMatch( TextInput1.Text,"emergency",Contains and IgnoreCase ) Example: IsMatch( TextInput1.Text, "hello", Contains and IgnoreCase ) Tests whether the user's input contains the word "hello" (case insensitive).
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your PL-400 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.