A developer is building a complex Power Automate cloud flow that processes incoming emails. They need to extract a 10-digit alphanumeric order number from the middle of the email body text. Instead of manually writing a complex Regular Expression (Regex) or nested text functions, which AI-powered feature in Power Automate should they use?
check_circle
Correct AnswerD
Power Automate includes an AI-powered feature called 'Format data by examples'. When a maker needs to extract or format a specific string (like an order number from a block of text, or reformatting a date), they can provide the original text and a few examples of the desired output. The AI natively generates the exact Power Fx/expression required to achieve that transformation, completely bypassing the need to manually author complex string manipulation formulas or Regex.
Question 42
An order routing flow uses a 'Condition' action to check the 'Region' column of an incoming order. Currently, there are 12 different regions (e.g., North, South, East, West, EMEA, APAC, etc.), and each region requires a completely different set of actions and manager notifications. Using nested 'Condition' actions has made the flow unreadable and difficult to maintain. Which action is the Microsoft-recommended alternative for handling this scenario?
check_circle
Correct AnswerC
When you need to evaluate a single variable or expression (like 'Region') against multiple specific, exact values (up to 25 unique cases), the 'Switch' action is the architectural best practice. It creates a much cleaner, flatter, and more maintainable flow structure compared to deeply nesting 'If/Yes' and 'If/No' branches using multiple 'Condition' actions. Each region becomes its own 'Case' within the Switch block.
Question 43
You are creating a Formula column on the 'Employee' table to dynamically calculate 'Years of Service'. You need to calculate the difference between the 'Hire Date' column and today's current date, outputting the result as a whole number of years. Which Power Fx formula must you use in the formula column definition?
check_circle
Correct AnswerD
Formula columns in Dataverse execute modern Power Fx functions. To find the difference between two date/time values in a specific unit of measurement (like Years, Months, or Days), the `DateDiff()` function is the required syntax. It takes the start date, the end date (`Now()` or `Today()`), and the required `TimeUnit`. Option 1 (`DiffInYears`) is the old syntax used in legacy calculated columns, not Power Fx formula columns.
Question 44
You embed a Copilot Studio agent within a Canvas app using the native Copilot control. The app has a screen displaying details for a specific 'Project' record. When the user interacts with the agent on this screen, you want the agent to automatically know the 'Project ID' of the currently viewed project without the user having to type it into the chat. How can you pass this context from the Canvas app to the Copilot Studio agent?
check_circle
Correct AnswerA
Passing context from a hosting application (like a Canvas app or a web portal) to a Copilot Studio agent is a standard architectural pattern. You achieve this by creating a variable in Copilot Studio, marking it as an 'External' or 'Bot' variable that can receive values from other sources. When you embed the agent using the Copilot control in the Canvas app, the control's properties will expose these input parameters. You can then map your Canvas app context (like `Gallery.Selected.ProjectID`) directly to the agent's parameter, allowing the agent to use it seamlessly in its logic.
Question 45
You need to retrieve 50 'Opportunity' records from Dataverse and send a single, daily email containing a neatly formatted table of the 'Opportunity Name' and 'Estimated Revenue' for those 50 records. Which sequence of actions provides the most efficient and architecturally sound method to format this data for the email body?
check_circle
Correct AnswerC
Data operations are significantly faster and more efficient than using variables inside 'Apply to each' loops. The 'Select' action allows you to instantly reshape an array of complex JSON objects (from Dataverse) into a simplified array containing only the specific key-value pairs you need (Name and Revenue). You then pass this simplified array directly into the 'Create HTML table' action, which natively generates the HTML code for a clean table to insert into your email, entirely eliminating the need for slow looping.
Question 46
You are utilizing Copilot in the Dataverse maker portal to generate a new custom table for 'Event Registrations'. After typing your initial prompt, Copilot generates a preview of the table with columns for 'Name', 'Email', and 'Event Date'. You realize you also need a column for 'Dietary Restrictions'. How should you add this column before finalizing the table creation?
check_circle
Correct AnswerC
Copilot in Dataverse (and across the Power Platform maker experiences) is designed for multi-turn, iterative conversations. When Copilot generates a preview of a table schema or app layout, you do not need to start over or wait until creation to make changes. You can simply continue the conversation in the chat pane by providing natural language instructions (e.g., 'Add a column for...', 'Change the data type of...'), and Copilot will dynamically update the preview in real-time before you click 'Create'.
Question 47
Your organization uses a self-referential 'Parent Account' lookup on the 'Account' table to map complex corporate structures (e.g., Global HQ -> Regional Office -> Local Branch). You need a Rollup column on the Account table that calculates the 'Total Open Revenue' from all Opportunities. This calculation must include the revenue of the specific account AND the revenue of all its child accounts within the corporate hierarchy. How do you configure this?
check_circle
Correct AnswerC
Dataverse Rollup columns natively support rolling up data across defined hierarchical relationships. If a table has a self-referential 1:N relationship with the 'Hierarchical' property set to 'Yes', the Rollup column designer will explicitly offer an 'Include hierarchical data' toggle. By setting this to 'Yes', the rollup engine automatically traverses down the hierarchy, aggregating the child records (Opportunities) for the current node and all its descendant nodes.
Question 48
You are building a Power Automate cloud flow that triggers when a new email arrives. You want to use a custom prompt you created in AI Hub to categorize the email and suggest a response. Which specific Power Automate action must you select to invoke this custom prompt?
check_circle
Correct AnswerB
To consume custom prompts or prebuilt prompts built in the AI Hub via Power Automate, you must use the AI Builder action named 'Create text with GPT using a prompt'. Once you select this action, a dropdown allows you to select any of your published prompts, and it dynamically exposes the input variables defined in that prompt so you can map your flow's dynamic content (like the email body) into them. The 'Predict with AI Builder model' action is used for traditional AI models (like classification or object detection), not generative AI prompts.
Question 49
Your organization operates in the Europe region. You are attempting to use the 'Describe it to design it' Copilot feature in Power Automate to generate a new cloud flow from a natural language prompt. However, the Copilot interface is missing or disabled in your maker portal. What is the most likely administrative reason for this issue?
check_circle
Correct AnswerD
If your Power Platform environment is hosted in a region where Azure OpenAI services are not natively deployed locally (like certain European or Asian regions), tenant administrators must explicitly enable the 'Move data across regions' setting in the Power Platform admin center. This setting authorizes the platform to send prompts and data outside the local geographic boundary to an available US-based Azure OpenAI endpoint to process the Copilot request. If disabled, Copilot features will not appear or will be blocked.
Question 50
An 'Account' table has a Rollup column configured to calculate the sum of the 'Estimated Revenue' from all related 'Open Opportunities'. A sales representative closes an opportunity as 'Won', effectively changing its status so it no longer meets the Rollup column's filter criteria. When will the Rollup column on the parent Account record reflect this newly updated sum?
check_circle
Correct AnswerD
To prevent severe performance degradation during mass data updates, Rollup columns evaluate asynchronously. By default, Dataverse schedules a mass calculate rollup background job that runs every 12 hours for the table. However, users can force a real-time recalculation of a specific record by opening the model-driven form and clicking the calculator icon next to the Rollup column. They do not calculate immediately upon child record saves.