Exam AI-102 All QuestionsBrowse all questions from this 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:

    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
Duch003

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

That's what I thinking about..

rdemontis

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

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

The answer is correct.

zellck

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

this was on exam 28/06

2ez4Zane

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

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

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

demonite

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

Ravnit

Was on exam 27/11/2021

Murtuza

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.

RamonRW

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

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.

krzkrzkra

NYY is the answer.

HaraTadahisa

My answer is that No Yes Yes

takaimomoGcup

No Yes Yes

nanaw770

No Yes Yes