Microsoft Microsoft Certifications PL-400 Questions & Answers
Question 221:
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 Microsoft Dataverse environment.
Explicit user credentials must not be required to write survey data to Dataverse.
You need to implement authentication.
Which authentication mechanism should you implement?
A. ADFS
B. Azure AD Conditional Access
C. Azure guest account
D. Client secret
Correct Answer: C
Canvas apps can be shared with guest users of an Azure Active Directory (Azure AD) tenant. This enables inviting external business partners, contractors, and third parties to run your company's canvas apps. Reference: https://docs.microsoft.com/en-us/power-apps/maker/canvas-apps/share-app-guests
Question 222:
You are a Power App maker.
You are developing an app in a development environment. You create the following custom forms in the Account entity:
1.
FormB contains a message that appears in the OnLoad function of the form.
2.
FormC contains a message that appears in the OnSave function of the form.
You add the forms to a solution and export the solution as managed. Importing the managed solution into the test environment produces an error indicating the solution is missing a component.
You need to identify the issue.
What is the cause of the import error?
A. The web resources were not added to the form before adding the form to the solution.
B. The solution must be exported as an unmanaged solution.
C. The web resources were not added to the solution before exporting.
D. A copy of the form must be made before adding to the solution.
Correct Answer: C
Symptoms.
When attempting to import a solution in Microsoft Dynamics 365, the import fails with the following message:
The import of the solution [solution name] failed. The following components are missing in your system and are not included in the solution. Import the managed solutions that contain these components ([name of missing solution] ([solution
version])) and then try importing the solution again.
Cause.
This error occurs if you are trying to import a solution that depends on other components that are not in your Microsoft Dynamics 365 organization.
Resolution
Review the missing component details shown in the import dialog. If there are other solutions listed that are not already imported in the organization where you are trying to import this solution, import those solutions first before trying to import
You are developing a Power Platform solution for a medical practice. You create a custom table named Doctors to record details about the doctors who work at the medical practice.
You must be able to attach a PDF copy of a doctor's medical license to the row for each doctor.
You need to configure the table.
What should you do?
A. Create a Power Automate flow to add attachments.
B. Navigate to Table options and enable attachments.
C. Navigate to Column options and enable attachments.
D. Create relationships between the Doctor table and the Notes table.
Correct Answer: C
A file column is used for storing file data up to a specified maximum size. A custom or customizable table can have zero or more file columns plus a notes (annotation) collection with zero to one attachment in each note.
You are a Power Apps maker creating a chat bot for a website.
The chat bot must recognize geographic attributes to enable additional functionality.
You need to recommend a feature.
What should you recommend?
A. Fallback topic
B. Power Automate Flow
C. Bot Service compliance
D. Slot filling
Correct Answer: D
Custom entities
The prebuilt entities cover commonly used information types, but on some occasions, such as when building a bot that serves a specific purpose, you'll need to teach the bot's language understanding model some domain-specific knowledge.
Slot filling
Slot filling is a natural language understanding concept that means saving an extracted entity to an object. However, in Power Virtual Agents, slot filling means placing the extracted entity value into a variable.
Incorrect:
* Fallback topic In some scenarios, you might want to customize how the bot behaves when user input doesn't trigger any topic. For example, you can build a catchall topic to capture unrecognized user intent, or use a topic to call back-end systems or route to existing services.
Customize these fallback behaviors by adding the system Fallback topic. You can also customize the Fallback topic itself, similar to most other system topics.
You are configuring a custom connector for a web service. The web service is hosted in two different regions. The web service URL includes a common domain name and a unique sub-domain for each region.
The custom connector must allow the region to be entered for additional regions when creating the connection.
You need to create a policy template.
Which template type should you use?
A. Set HTTP header
B. Route request
C. Set host URL
D. Set query string parameter
Correct Answer: C
Q: My APIs use a dynamic host. How do I implement them with OpenAPI?
A: Policy templates can be used to dynamically modify the host at runtime.
Set Host URL replaces host URL with the URL generated from the template. This template is available in Power Apps and Power Automate.
The target use cases for this template are scenarios where the request has to be routed to a backend host url which is dynamic and depends on one or more connection parameters, query parameters or headers. The URL template
parameter supports expressions to enable this scenario and the operations parameter allows you to scope down the application to a specific subset of operations if needed.
If you use this template, please keep in mind that the host url defined in the connector will no longer be relevant for the correspinding operations since it will always be replaced by the value evaluated by this template.
Incorrect:
*
Set HTTP Header
Assigns a value to an existing response and/or request header or adds a new response and/or request header. This template is available in Power Apps and Power Automate.
The target use case for this policy template is to override or add information to an HTTP request or response.
*
Route Request
Routes incoming requests to a specified endpoint on the same service. This template is available in Power Apps and Power Automate.
One of the most common use cases of this template is to support multiple versions of an operation calling the same endpoint on the service. This template enables you to overcome the limitation of not being able to have two or more
operations to have the same path in the swagger.
*
Set query string parameter
Adds or updates value of request query string parameter This template is available in Power Apps and Power Automate.
The target use case for this scenario is to override or add information to a query string parameter.
You are creating a canvas app to retrieve user sign in information from Microsoft Azure Active Directory (Azure AD) when someone searches for information about an end user.
You create an Azure Function to retrieve the required information by using JSON.
You need to ensure that the application functions correctly.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Create a Power Automate flow to import data.
B. Create a custom connector by using the Azure Function API.
C. Use app designer in the Power Platform admin center.
D. Use Azure Service Bus.
E. Create an API definition for the Azure Function.
Correct Answer: AE
A: You can get a specific value from a JSON in Power Automate.
JSON is the basic data format used in Power Automate. Whenever there's an output of any action, it’ll be a JSON on the background. Power Automate will then automatically parse that JSON, and provide the values among the available
dynamic content. And if it doesn't do it automatically, there's still the ‘Parse JSON’ action to parse any JSON on demand. But there's also a third option, accessing the value with an expression. You can navigate through a JSON and take only
the value you need. Instead of using the whole JSON that’ll fit a JSON schema, you can just pick the specific property.
E: Creating an API (definitions)
Azure API Management is an API-Gateway service on Microsoft's Azure Platform. You can use API Management to provide a Gateway to any service residing on-premise, in a container or cloud (back-end services). It can help you securely
expose your APIs to third parties, partners or internally.
In short, the API (definition) is a proxy or gateway into your back-end services.
Through the Azure Portal, you can access an API management instance and create an API (definition). Under APIs in the left pane of an API Management instance, you will find APIs option allowing you to add a new API.
A Power Platform solution includes the following Web API call:
GET http://contoso.crm.dynamics.com/api/data/v9.1/RelationshipDefinitions?$select=SchemaName
You need to explain what this line of code is doing.
What does the code do?
A. Retrieve the list of relationships between tables.
B. Retrieve a list of tables that are related to each other.
C. Retrieve a list of one-to-many relationships with other tables.
D. Retrieve a list of tables that have more than one relationship.
E. Retrieve a list of many-to-many relationships with other tables.
Correct Answer: A
Querying relationship metadata
Entity relationships can be queried using the RelationshipDefinitions entity set. You can use a query like the following to get the SchemaName property for every relationship.
GET [Organization URI]/api/data/v9.0/RelationshipDefinitions?$select=SchemaName
The properties available when querying this entity set are limited to those in the RelationshipMetadataBase EntityType.
Note: You can retrieve relationship metadata in the context of a given entity much in the same way that you can query attributes. The ManyToManyRelationships, ManyToOneRelationships, and OneToManyRelationships collection-valued
navigation properties can be queried just like the Attributes collection-valued navigation property.
However, entity relationships can also be queried using the RelationshipDefinitions entity set.
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.
A. Select the Portal Management app and then select Edit
B. Select the Portal Management app and then select Play.
C. Select the portal app and then select Manage.
D. Select the portal app and then select Edit.
Correct Answer: AD
A: The Portal Management app lets you do advanced configuration actions on your portal.
Open the Portal Management app.
Go to Portals > Web Pages.
To edit an existing web page, select the web page name.
Enter appropriate values in the fields.
Select Save and Close.
D: To use the WYSIWYG editor:
Edit the portal to open it in Power Apps portals Studio. Select the page on which you want to add the component. Select an editable element on the canvas.
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?
A. Use a Power Automate flow to read data from the parent record and update the child record upon creation.
B. Map table columns from the parent record to the child record.
C. Create a business rule that sets the default values on the child record fields to values from the parent record.
D. Include a quick view form on the child record showing the data from the parent record.
Correct Answer: B
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.
You are creating a canvas app for a bank. Consumers will enter information into the app when they apply for a loan.
The input form for the app must display fields to prompt the consumer for their first name, last name, address, and the requested loan amount.
Immediately after a consumer enters a value for the LoanAmount field, the background color for the column must change. The background color for the column must change to red if a consumer enters a value of more than $5,000 and must
turn green for values less than or equal to $5,000.
You need to implement the required behavior.
Which option should you use?
A. Create a Power Automate flow.
B. Configure field properties.
C. Add a business rule to the form.
D. Add a formula to the LoanAmount field.
Correct Answer: D
Conditional formatting in Power Apps can be done with formulas.
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.