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

    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
KingChuang

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

rdemontis

answer seems to be correct

rdemontis

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

AdarshKumarKhare

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

halfway

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]

CellCS

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

takaimomoGcup

Is this question still available on May 21, 2024?

AzureJobsTillRetire

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

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

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

halfway

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