Which LUIS Custom Entity Minimizes Training Utterances for Airport Names?

Answer Correct answer: D — Use a list entity in LUIS to define airport names and codes as synonyms, which minimizes the number of training utterances.

You are building an Azure AI Language Understanding solution. You discover that many intents have similar utterances containing airport names or airport codes. You need to minimize the number of utterances used to train the model. Which type of custom entity should you use?

  1. Pattern.any
  2. machine-learning
  3. regular expression
  4. list Correct Answer

Community Votes

D
61%
A
39%

61% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

The question tests the difference between LUIS entity types for synonym mapping: list entities provide exact and synonym matches that eliminate repetitive training utterances, while pattern.any is for variable-length pattern extraction.

In Azure AI Language Understanding, list entities handle fixed sets like airport names and codes via synonyms, reducing the number of training utterances needed. This page explains why the list entity (D) is the correct choice for minimizing utterances with synonymous airport identifiers.

Many candidates choose pattern.any (A) because it handles variable-length entities in patterns, but pattern.any still requires patterns and utterances and does not natively map synonyms like airport codes to full names.

Community Discussion (16 comments)

syupwsh 👍 1 Selected: A
Pattern.any is CORRECT because it is used to identify entities that can have multiple forms, such as "John F. Kennedy International Airport" or "JFK." In this case, the Pattern.any entity allows the Language Understanding model to recognize both full airport names and their corresponding codes as the same entity, without needing to list every possible variation in the training utterances. This approach minimizes the number of utterances required and ensures consistent entity recognition. https://learn.microsoft.com/en-us/azure/ai-services/luis/concepts/patterns-features#patternany-entity I would go for A
pabsinaz 👍 1 Selected: D
Either A or D, both works. A less development effort, D a better solution. However, the requirement is not talking about minimizing development efforts.
pabsinaz 👍 1 Selected: D
Either A or D, both works. A less development effort, D a better solution. Howeve,r the requirements it is not talking to minimize development effort.
MASANASA 👍 2 Selected: D
pattern.any https://learn.microsoft.com/ja-jp/azure/ai-services/luis/reference-entity-pattern-any?tabs=V2 list https://learn.microsoft.com/en-us/azure/ai-services/language-service/conversational-language-understanding/concepts/entity-components
Andriki 👍 2 Selected: D
List: fixed, close set of related words
nastolgia 👍 1 Selected: D
It shoul be LIST
pmd30 👍 1
D. List https://learn.microsoft.com/en-us/azure/ai-services/luis/reference-entity-list?tabs=V2 Suppose the app has a list, named Cities, allowing for variations of city names including city of airport (Sea-tac), airport code (SEA), postal zip code (98101), and phone area code (206). List item Item synonyms Seattle sea-tac, sea, 98101, 206, +1 Paris cdg, roissy, ory, 75001, 1, +33 book 2 tickets to paris In the previous utterance, the word paris is mapped to the paris item as part of the Cities list entity. The list entity matches both the item's normalized name as well as the item synonyms.
Alan_CA 👍 1 Selected: D
LIST entity
RajuTS 👍 1
USing a list entity allows you to define a set of values and their synonyms which will help minimize the number of utterances needed to train the model. Hence the answer must be: D) List
mrg998 👍 1 Selected: A
Pattern, you can use this to summarise multiple utterances into intents
famco 👍 1
"Patterns are designed to improve accuracy when multiple utterances are very similar. A pattern allows you to gain more accuracy for an intent without providing several more utterances." So, it has to be pattern. The only one in the list is Pattern.Any. Looks like the MIcrosoft guy just read this line and made the question and randomly chose a pattern type
Moneybing 👍 3 Selected: D
Copied entire question to Copilot, and Copilot says D. To minimize the number of utterances used to train the model, you should use a list entity. List entities allow you to define a list of values (such as airport names or codes) and associate them with a single entity. This way, you can handle multiple similar utterances with a single entity reference, making your model more efficient and concise.
anto69 👍 3 Selected: A
Pattern.any according to Copilot
moonlightc 👍 2 Selected: A
Answer is A according to ChatGPT
Toby86 👍 4
A. Pattern Any From: https://learn.microsoft.com/en-us/azure/ai-services/luis/concepts/patterns-features#patternany-entity For Airports this means: You can exrpess the Airport Name in Full as "John F. Kennedy International Airport" or in short with the code as "JFK" LUIS will have to get both as the same
krzkrzkra 👍 1
as per chat gpt: To minimize the number of utterances used to train the model while dealing with similar utterances containing airport names or airport codes, you should use a custom entity that can generalize the variations of the entities within the utterances. The correct choice in this scenario is Pattern.any. Pattern.any is used in Language Understanding (LUIS) to handle cases where you have a specific pattern in the utterances, but the specific instances of an entity (like airport names or codes) can vary widely. By using Pattern.any, you can define a pattern that recognizes and extracts any airport name or code without needing to provide all possible variations in the training data. Therefore, the most suitable option is: A. Pattern.any

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

A LUIS list entity is designed for a fixed, closed set of related words and their synonyms. By defining an Airports list with items such as John F. Kennedy International Airport and synonyms like JFK, you can cover many variations without adding a separate training utterance for each form. Microsoft's own documentation uses an airport example for list entities, showing that a single item can include city names, airport codes, postal codes, and phone area codes as synonyms. This synonym mapping directly minimizes the number of utterances needed to train the model, making D the correct choice.

Why the Other Options Are Wrong

Pattern.any (A) is used inside patterns to extract variable-length entities, but it does not provide synonym mapping and still relies on pattern utterances to work. A machine-learning entity (B) learns from labeled utterances, so it typically requires more examples to generalize, opposite of the goal. A regular expression entity (C) extracts text that matches a regex, which is useful for structured formats but not for associating synonymous airport names and codes. None of these reduce utterance count as directly or as reliably as a list entity.

Community Comment Notes

The community favors D, though a notable minority chose A. Moneybing and Andriki support list entities, with Andriki noting they are a "fixed, close set of related words." pmd30 quotes Microsoft's list entity example that includes "airport (Sea-tac), airport code (SEA), postal zip code (98101)" as synonyms, which mirrors the airport scenario. Toby86 and syupwsh argue for pattern.any because it handles multiple forms, but pabsinaz summarizes the trade-off well: "Either A or D, both works. A less development effort, D a better solution." Since the question asks to minimize utterances, the list entity is the better fit.

Official Reference

Exam Strategy

For AI-102 LUIS entity questions, memorize the core purpose of each type: list = fixed set with synonyms and minimal utterances; pattern.any = variable-length extraction inside patterns; regex = structured formats; machine-learning = trained from labeled examples. If the scenario mentions known synonyms like airport codes, choose list.

Frequently Asked Questions

Why is a pattern.any entity not the best choice for airport names and codes?

Pattern.any extracts variable-length entities inside patterns, but it does not map synonyms like JFK to John F. Kennedy International Airport; list entities do that without extra utterances.

Does a list entity reduce training utterances in LUIS?

Yes, because each list item can have many synonyms, so one labeled example can cover numerous variations without adding separate utterances.

Related Analysis

← Back to AI-102 Study Guide