nerdexam
Microsoft

PL-200 · Question #39

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…

The correct answer is B. No. Using a Date and Time question type to capture age is not appropriate because it collects a birthdate rather than a numeric age value, requiring additional calculation before age-range comparison is possible.

Create and manage logic and process automation

Question

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 one 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 creating Power Virtual Agents chatbot that captures demographic information about customers. The chatbot must determine the group a customer belongs to based on their age. The age groups are: 0 - 17 18 - 25 26 - 35 36 - 55 55 - 100 You need to configure the chatbot to ask a question that can be used to determine the correct age group. Solution: Use Date and time for Identify in the question and then add branches that use conditional logic to determine the age group. Does this meet the goal?

Options

  • AYes
  • BNo

How the community answered

(47 responses)
  • A
    26% (12)
  • B
    74% (35)

Why each option

Using a Date and Time question type to capture age is not appropriate because it collects a birthdate rather than a numeric age value, requiring additional calculation before age-range comparison is possible.

AYes

Yes is incorrect because a Date and Time variable does not natively provide a numeric age that can be directly compared against the defined age ranges without an intermediate calculation step.

BNoCorrect

A Date and Time variable captures a birthdate, not a numeric age, so the chatbot would require additional formula-based logic to derive the customer's current age before comparing it to the defined ranges. This makes the approach unnecessarily complex compared to using a Number variable that directly stores the age. The solution does not meet the requirement efficiently, making No the correct answer.

Concept tested: Selecting correct question type for numeric age input in Power Virtual Agents

Source: https://learn.microsoft.com/en-us/power-virtual-agents/authoring-variables

Topics

#Power Virtual Agents#Chatbot#Entities#Conditional Logic

Community Discussion

No community discussion yet for this question.

Full PL-200 Practice