AI-102 Exam QuestionsBrowse all questions from this exam

AI-102 Exam - Question 288


HOTSPOT -

You are developing the shopping on-the-go project.

You need to build the Adaptive Card for the chatbot.

How should you complete the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Hot Area:

Show Answer
Correct Answer:

Box 1: name [language]

Chatbot must support interactions in English, Spanish, and Portuguese.

Box 2: "$when:${stockLevel != 'OK'}"

Product displays must include images and warnings when stock levels are low or out of stock.

Box 3: image.altText[language]

Discussion

8 comments
Sign in to comment
KingChuang
Jan 17, 2023

on my exam. (2023-01-16 passed) My Answer: 1. name[language] 2. != OK 3. image.altText.[language]

rdemontis
Nov 10, 2023

answer seems to be correct

rdemontis
Nov 10, 2023

although there is probably a typo on the last answer image.altText.[language]. Probably the correct one should be image.altText[language]

AdarshKumarKhare
Dec 4, 2022

Repeat Question. Answers are different. I don't know which one is correct

halfway
Dec 8, 2022

My last comment was wrong. There is no correct answer for the last question. The correct answers should be: 1. name[language] 2. "$when": "${stockLevel} != 'OK'" 3. image.altText[language]

halfway
Dec 8, 2022

1. name[language] 2. "$when": "${stockLevel} != 'OK'" 3. image.altText.language

AzureJobsTillRetire
Mar 4, 2023

The correct answers are those that are given in answers to question 3. The correct answer pairs for box1 and box3 could be- 1) name.en and image.altText.en 2) name["language"] and image.altText["language"] Since name["language"] does not exist as an option in box1, we will have to choose the first pair as the correct answer. https://www.w3schools.com/js/js_json_syntax.asp

AzureJobsTillRetire
Mar 4, 2023

Looking at the given JSON sample for a product again, I actually cannot find either the data for name["language"]/name.language or image.altText["language"]/image.altText.language.

AzureJobsTillRetire
Mar 4, 2023

Since name["language"]/name.language and image.altText["language"]/image.altText.language do not exist, we will have to choose the first pair as the answers

takaimomoGcup
May 20, 2024

Is this question still available on May 21, 2024?

CellCS
Jul 21, 2024

Answer is correct. language is a identifier, could be 'en', ...,