exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 5 question 2 discussion

Actual exam question from Microsoft's AI-102
Question #: 2
Topic #: 5
[All AI-102 Questions]

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 Suggested Answer Hide Answer
Suggested 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

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Duch003
Highly Voted 3 years, 10 months ago
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.
upvoted 13 times
TuongNN
3 years, 7 months ago
That's what I thinking about..
upvoted 7 times
...
rdemontis
1 year, 5 months ago
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
upvoted 1 times
rdemontis
1 year, 5 months ago
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
upvoted 1 times
...
...
...
TheB
Highly Voted 3 years, 9 months ago
The answer is correct.
upvoted 10 times
...
syupwsh
Most Recent 2 months, 1 week ago
I would go for No (user.name from the diagram is a property so you are already given the answer from the qn) Yes (pretty much what it is doing) Yes (I am making the assumption that the user is going to make use of the coalesce function)
upvoted 3 times
...
krzkrzkra
9 months, 2 weeks ago
NYY is the answer.
upvoted 3 times
...
HaraTadahisa
10 months, 1 week ago
My answer is that No Yes Yes
upvoted 1 times
...
takaimomoGcup
10 months, 2 weeks ago
No Yes Yes
upvoted 1 times
...
nanaw770
11 months ago
No Yes Yes
upvoted 1 times
...
Murtuza
1 year, 1 month ago
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.
upvoted 2 times
...
zellck
1 year, 10 months ago
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.
upvoted 9 times
...
Pixelmate
1 year, 10 months ago
this was on exam 28/06
upvoted 6 times
...
2ez4Zane
3 years ago
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.
upvoted 3 times
Moody_L
2 years, 11 months ago
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
upvoted 1 times
ninjia
2 years, 8 months ago
I would agree with 2ez4Zane. Your link is a very good reference. I would consider the period in the question is a typo.
upvoted 4 times
demonite
10 months, 3 weeks ago
I'd agree, perhaps userName is just missing the dot
upvoted 1 times
...
...
...
...
RamonRW
3 years, 3 months ago
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?
upvoted 2 times
RamonRW
3 years, 3 months ago
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.
upvoted 1 times
...
...
Ravnit
3 years, 5 months ago
Was on exam 27/11/2021
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago