nerdexam
Microsoft

AI-102 · Question #357

You have the following Python function. You call the function by using the following code. my_function(text_analytics_client, "the quick brown fox jumps over the lazy dog") Following 'Key phrases'…

The correct answer is C. quick brown fox. The Python function utilizes Azure AI Language to extract key phrases from the input sentence "the quick brown fox jumps over the lazy dog" and prints them, with the expectation that "quick brown fox" will be identified as the most significant phrase.

Submitted by the_admin· Mar 30, 2026

Question

You have the following Python function. You call the function by using the following code. my_function(text_analytics_client, "the quick brown fox jumps over the lazy dog") Following 'Key phrases', what output will you receive?

Exhibit

AI-102 question #357 exhibit

Options

  • AThe quick -
  • Bjumps over the
  • Cquick brown fox
  • Dthe quick brown fox jumps over the lazy dog

How the community answered

(38 responses)
  • A
    3% (1)
  • B
    13% (5)
  • C
    76% (29)
  • D
    8% (3)

Why each option

The Python function utilizes Azure AI Language to extract key phrases from the input sentence "the quick brown fox jumps over the lazy dog" and prints them, with the expectation that "quick brown fox" will be identified as the most significant phrase.

AThe quick -

"The quick" is an incomplete phrase and does not represent a full key concept or entity.

Bjumps over the

"jumps over the" is a verb phrase, and key phrase extraction typically focuses on noun phrases or significant entities, not actions or prepositions.

Cquick brown foxCorrect

In the sentence "the quick brown fox jumps over the lazy dog", "quick brown fox" is the most prominent and descriptive noun phrase, representing the main subject or entity that the key phrase extraction service would typically identify as a key concept.

Dthe quick brown fox jumps over the lazy dog

This choice represents a large part or the entire sentence, which is not what key phrase extraction aims to do; it identifies specific, concise, and important phrases.

Concept tested: Azure AI Language Key Phrase Extraction

Source: https://learn.microsoft.com/en-us/azure/ai-services/language-service/key-phrase-extraction/overview

Topics

#Key Phrase Extraction#Azure Text Analytics#Python SDK

Community Discussion

No community discussion yet for this question.

Full AI-102 Practice