AI-102 Exam QuestionsBrowse all questions from this exam

AI-102 Exam - Question 209


HOTSPOT -

You are building a chatbot by using the Microsoft Bot Framework Composer.

You have the dialog design shown in the following exhibit.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Hot Area:

Show Answer
Correct Answer:

Box 1: No -

User.name is a property.

Box 2: Yes -

Box 3: Yes -

The coalesce() function evaluates a list of expressions and returns the first non-null (or non-empty for string) expression.

Reference:

https://docs.microsoft.com/en-us/composer/concept-language-generation https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/coalescefunction

Discussion

12 comments
Sign in to comment
Duch003
Jul 1, 2021

I am not sure if the correct answer for third is yes - the fields are showing examples, not the actual values typed in the boxes.

TuongNN
Sep 24, 2021

That's what I thinking about..

rdemontis
Nov 7, 2023

I also had this doubt but I don't want to think that Microsoft wants to confuse people's ideas in this way, that would be shameful. At this point the test would not be a way to assess people's skills but would become mere garbage

rdemontis
Nov 7, 2023

anyway an example is represented with "ex." at the beginning of the entered text. For the third field it does not, so I think the coalesce function is really applied

TheB
Jul 4, 2021

The answer is correct.

zellck
Jul 2, 2023

NYY is the answer. https://learn.microsoft.com/en-us/composer/how-to-ask-for-user-input?tabs=v2x#create-a-text-input-action https://learn.microsoft.com/en-us/azure/bot-service/adaptive-expressions/adaptive-expressions-prebuilt-functions?view=azure-bot-service-4.0#coalesce Return the first non-null value from one or more parameters. Empty strings, empty arrays, and empty objects are not null.

Pixelmate
Jun 28, 2023

this was on exam 28/06

Ravnit
Nov 28, 2021

Was on exam 27/11/2021

2ez4Zane
Apr 27, 2022

The answer is correct. The 3rd one is yes The coalesce() function evaluates a list of expressions and returns the first non-null (or non-empty for string) expression.

Moody_L
Jun 2, 2022

Disagreed. The coaleasce() function uses comma to separate out a list of expressions. However, in the question, the separator is a period. ```coalesce(tolong("not a number"), tolong("42"), 33) == 42``` Ref: https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/coalescefunction

ninjia
Aug 15, 2022

I would agree with 2ez4Zane. Your link is a very good reference. I would consider the period in the question is a typo.

demonite
Jun 5, 2024

I'd agree, perhaps userName is just missing the dot

RamonRW
Dec 30, 2021

Answers 1 and 2, I are correct in my eyes. But with the third answer, I am not sure. Especially it is referring to personName and I do not see that property anywhere. Usually that's a hint, if an answer should be wrong. What do you think or do I miss something here?

RamonRW
Dec 30, 2021

I missed something indeed. There is a coalesce function for username and personname. I am still not sure, if the correct answer should actually be no.

Murtuza
Mar 22, 2024

The third answer in this question is YES The chatbot indeed attempts to extract relevant information from the user’s input. In this case, it looks for non-null values associated with the userName or personName entities and assigns those values to the user.name property. This process allows the chatbot to personalize its interactions and provide a more tailored experience for the user.

nanaw770
Jun 1, 2024

No Yes Yes

takaimomoGcup
Jun 15, 2024

No Yes Yes

HaraTadahisa
Jun 21, 2024

My answer is that No Yes Yes

krzkrzkra
Jul 12, 2024

NYY is the answer.