Question 370
For a field-service mobile app, the proposal “Explain generation as predicting successive tokens from context” addresses the ability to describe why an LLM composes text incrementally rather than searching a stored sentence table. Which different action is needed when the requirement is to process punctuation and emoji as potentially separate token units?
- Use attention to relate different positions in the input sequence
- Represent meaning with learned vector embeddings
- Identify hallucination as an unsupported generated claim
- Tokenize text into model-specific token identifiers
- Explain generation as predicting successive tokens from context
Explanation
Correct Answer
D:For the requirement to process punctuation and emoji as potentially separate token units, this action has the relevant behavior: tokenization maps text to units such as subwords and punctuation for model processing; token counts depend on the tokenizer and need not equal word counts; by contrast, Explain generation as predicting successive tokens from context addresses the separate goal to describe why an LLM composes text incrementally rather than searching a stored sentence table.
Incorrect Answers
A:If the target were to account for pronoun interpretation using words earlier in a paragraph, this would be useful; however the acceptance test is to process punctuation and emoji as potentially separate token units; its technical role is that transformer attention helps representations incorporate relevant information from other tokens in context; it supports contextual relationships rather than requiring a fixed dictionary lookup for each word; it does not resolve the stated gap.
B:This choice addresses a separate goal to retrieve relevant documents based on semantic similarity rather than exact terms, which is different from the requested outcome to process punctuation and emoji as potentially separate token units; the relevant technical behavior is embeddings map text or other content into numeric vectors so semantically related items can be compared geometrically; they are useful for retrieval but are not themselves readable answer text; this is not the focused implementation here.
C:Its role is to distinguish fluent text from evidence-supported truthfulness, while the present test is about the ability to process punctuation and emoji as potentially separate token units; the underlying operation is that generative models can produce confident, fluent statements that do not follow from evidence; detecting hallucinations requires checking claims against trusted sources or constraints, not evaluating grammar alone; the two needs must not be conflated.
E:The previously considered capability is useful to describe why an LLM composes text incrementally rather than searching a stored sentence table, whereas the present acceptance test is to process punctuation and emoji as potentially separate token units; its mechanism is that autoregressive language models estimate a probability distribution over possible next tokens using prompt context and previously produced tokens; repeated sampling or selection extends a sequence into an answer; it does not itself deliver the new requirement.
Question 371
For a visual accessibility assistant, the required result is to write a short description of a warehouse photograph. What would you implement?
- Use image captioning for descriptive scene summaries
- Choose the corresponding vision tool based on expected output
- Use object detection for individual item locations
- Preprocess poor-quality images before inference
Explanation
Correct Answer
A:The requested outcome is to write a short description of a warehouse photograph; this action is the focused implementation: image captioning generates natural-language descriptions of what is visible; it is useful for indexing or accessibility, but it is not a guarantee of precise numerical reading; it provides the underlying capability rather than a neighboring workflow step.
Incorrect Answers
B:If the target were to require coordinates rather than a whole-image label, this would be useful; however the acceptance test is to write a short description of a warehouse photograph; its technical role is that image categorization, bounding boxes, text extraction, and descriptions have different output contracts; the application should select and parse the operation matching its business need; it does not resolve the stated gap.
C:This choice addresses a separate goal to draw bounding boxes around safety helmets in a photograph, which is different from the requested outcome to write a short description of a warehouse photograph; the relevant technical behavior is object detection reports object classes and locations such as bounding boxes; it suits counting or locating multiple instances in an image; this is not the focused implementation here.
D:Its role is to improve contrast before extracting faint printed text, while the present test is about the ability to write a short description of a warehouse photograph; the underlying operation is that input correction or recapture can improve readability when blur, rotation, glare, or low resolution obstruct analysis; an unsuitable image cannot be repaired by assuming the model will guess correctly; the two needs must not be conflated.
Question 372
A regression checklist for an internal knowledge search service has two independent outcomes: it already can retrieve a repair guide when a symptom is described with unusual wording, but it must also reduce answers based on tangential search results. Which capability is needed for the second outcome?
- Apply text chunking to improve document retrieval granularity
- Apply retrieval ranking and grounding validation before response
- Apply source ingestion before indexing enterprise knowledge
- Apply embedding-based vector retrieval for paraphrased questions
Explanation
Correct Answer
B:The second test calls for a capability that can reduce answers based on tangential search results. ranking selects the most applicable retrieved evidence, while grounding checks ensure the answer follows available source text; A relevant-looking retrieval hit is not a verified answer; this is the missing implementation, rather than another adjustment to Apply embedding-based vector retrieval for paraphrased questions.
Incorrect Answers
A:This alternative addresses a separate task to retain meaningful headings during document splitting, not the explicit requirement to reduce answers based on tangential search results; its mechanism is that chunking divides long content into contextual passages so search can return relevant sections; oversized chunks waste context, while undersized chunks can lose meaning; the requested outcome demands a different operation.
C:This choice addresses a separate goal to connect a document repository before expecting grounded answers, which is different from the requested outcome to reduce answers based on tangential search results; the relevant technical behavior is ingestion reads authorized sources and prepares their contents for retrieval; search cannot find documents never loaded or connected to the retrieval pipeline; this is not the focused implementation here.
D:The previously considered capability is useful to retrieve a repair guide when a symptom is described with unusual wording, whereas the present acceptance test is to reduce answers based on tangential search results; its mechanism is that vector similarity uses learned semantic representations to match related ideas even when wording differs; it differs from exact keyword matching; it does not itself deliver the new requirement.
Question 373
An internal policy assistant is being assessed against a precise requirement: distinguish praise for price from criticism of packaging in the same review. Which approach directly meets that requirement?
- Apply personally identifiable information detection to find sensitive spans
- Apply key phrase extraction to find central topics
- Apply named entity recognition to label people and organizations
- Apply opinion mining to connect sentiment with specific aspects
Explanation
Correct Answer
D:The requested outcome is to distinguish praise for price from criticism of packaging in the same review; this action is the focused implementation: aspect-based sentiment links positive or negative opinions to targets such as battery life or delivery speed; A whole-document sentiment score can hide those distinct evaluations; it provides the underlying capability rather than a neighboring workflow step.
Incorrect Answers
A:This choice addresses a separate goal to mask account numbers in stored support transcripts, which is different from the requested outcome to distinguish praise for price from criticism of packaging in the same review; the relevant technical behavior is PII analysis identifies text segments corresponding to personal identifiers for redaction or review; the operation differs from general entity detection because the objective is privacy-sensitive content; this is not the focused implementation here.
B:Its role is to summarize complaint themes as short topical phrases rather than complete sentences, while the present test is about the ability to distinguish praise for price from criticism of packaging in the same review; the underlying operation is that key phrase extraction identifies salient words and short phrases in text without requiring a manually predefined set of topic labels; it is different from detecting named entities or measuring emotional polarity; the two needs must not be conflated.
C:This alternative addresses a separate task to extract categorized entities from customer-facing text, not the explicit requirement to distinguish praise for price from criticism of packaging in the same review; its mechanism is that NER identifies spans such as person names, places, dates, and organizations and assigns entity categories; it extracts mentions, not a document's overall emotional tone; the requested outcome demands a different operation.
Question 374
A claims-processing workflow can already invoke a database function to obtain current account details through a feature based on “Apply a tool-enabled AI agent for permitted external actions”. However, users also need to follow the sequence of tools used in a failed workflow. Which capability is missing?
- Apply a tool-enabled AI agent for permitted external actions
- Apply a conventional chatbot when the workload is only question answering
- Apply trace inspection to investigate agent decisions
- Apply tool schemas to constrain agent function arguments
Explanation
Correct Answer
C:The earlier implementation covers a different outcome; to follow the sequence of tools used in a failed workflow, use this approach because agent traces can show model responses, tool calls, errors, and execution timing for debugging; traces should be protected because they may contain sensitive request data; it adds the requested behavior without confusing it with the existing feature.
Incorrect Answers
A:The previously considered capability is useful to invoke a database function to obtain current account details, whereas the present acceptance test is to follow the sequence of tools used in a failed workflow; its mechanism is that an agent can combine a model, instructions, and authorized tools to execute parts of a workflow; permission boundaries and review remain important when actions affect external systems; it does not itself deliver the new requirement.
B:If the target were to provide explanatory answers from supplied FAQ text, this would be useful; however the acceptance test is to follow the sequence of tools used in a failed workflow; its technical role is that A basic chat application generates conversational responses without needing autonomous task execution; adding tools and action permissions introduces complexity when no external action is required; it does not resolve the stated gap.
D:Its role is to restrict a tool to the documented argument schema, while the present test is about the ability to follow the sequence of tools used in a failed workflow; the underlying operation is that A tool definition describes allowed functions and structured input fields; validation helps reject malformed or unauthorized calls; A prompt by itself should not grant new API capabilities; the two needs must not be conflated.
Question 375
After adding the action “Keep development and production resources logically separated” to validate credentials and quotas independently across environments, engineers verify that an internal policy assistant still cannot manage an integration target for a tool-driven application. Which addition addresses the remaining gap?
- Keep development and production resources logically separated
- Create a Microsoft Foundry project for application development
- Use the Foundry playground to validate prompt behavior
- Configure a secure project connection to a required data service
- Grant the project team appropriate Azure access permissions
Explanation
Correct Answer
D:The second test calls for a capability that can manage an integration target for a tool-driven application. project connections describe how an application or tool reaches an external service or knowledge source; credentials, access controls, and service availability still determine whether the connection works; this is the missing implementation, rather than another adjustment to Keep development and production resources logically separated.
Incorrect Answers
A:The previously considered capability is useful to validate credentials and quotas independently across environments, whereas the present acceptance test is to manage an integration target for a tool-driven application; its mechanism is that environment separation reduces the risk that experiments alter live models, agents, permissions, or documents; promotion should be deliberate and subject to validation; it does not itself deliver the new requirement.
B:This alternative addresses a separate task to create a managed place to test model and agent solutions, not the explicit requirement to manage an integration target for a tool-driven application; its mechanism is that A Foundry project organizes application assets, model interactions, agents, and connections under a project endpoint; it gives collaborators a managed context for development rather than replacing the Azure subscription; the requested outcome demands a different operation.
C:If the target were to trial a system instruction against a deployed model without writing a client, this would be useful; however the acceptance test is to manage an integration target for a tool-driven application; its technical role is that the playground provides an interactive environment for experimenting with an available model and its settings; it helps confirm a prompt before the application implements equivalent requests in code; it does not resolve the stated gap.
E:Its role is to separate the right to invoke a model from the right to manage resources, while the present test is about the ability to manage an integration target for a tool-driven application; the underlying operation is that Foundry resources and projects use Azure-based authorization and access controls; collaborators require suitable privileges for the resources and operations they need to perform; the two needs must not be conflated.
Question 376
For a government-service intake application, the required result is to score the polarity of imported text reviews. What would you implement?
- Call sentiment analysis on customer review text
- Call PII detection and redact returned sensitive spans
- Call entity linking to disambiguate named mentions
- Call summarization to condense lengthy documents
- Call opinion mining for sentiment tied to aspects
Explanation
Correct Answer
A:The requested outcome is to score the polarity of imported text reviews; this action is the focused implementation: Azure Language sentiment analysis returns polarity-related information for supplied text; it works on written content and can help prioritize negative feedback without performing speech recognition; it provides the underlying capability rather than a neighboring workflow step.
Incorrect Answers
B:This choice addresses a separate goal to sanitize a user message before logging it, which is different from the requested outcome to score the polarity of imported text reviews; the relevant technical behavior is language PII analysis helps locate personal identifiers and their offsets or categories; the application must decide how to mask or handle those spans safely; this is not the focused implementation here.
C:Its role is to resolve an ambiguous organization name using contextual text, while the present test is about the ability to score the polarity of imported text reviews; the underlying operation is that entity linking can associate an ambiguous named mention in text with a specific recognized entity and reference; it addresses identity ambiguity rather than extracting arbitrary custom data fields; the two needs must not be conflated.
D:This alternative addresses a separate task to produce digestible text from lengthy prose input, not the explicit requirement to score the polarity of imported text reviews; its mechanism is that document summarization creates shorter text preserving key information; extractive and abstractive methods differ in whether wording is selected or generated; it is not an exact-field document parser; the requested outcome demands a different operation.
E:If the target were to separate praise for product speed from criticism of support quality, this would be useful; however the acceptance test is to score the polarity of imported text reviews; its technical role is that opinion mining detects sentiments and their associated targets within text, revealing mixed judgments; this is finer-grained than classifying an entire review as positive or negative; it does not resolve the stated gap.
Question 377
A technician support portal currently meets a requirement to rotate away from passwords stored in deployment scripts through the technique “Authenticate applications by managed identity where supported”. A new test asks it to screen an image-generation request against harmful-content policy. What change should be made?
- Set data-retention and deletion controls for prompts and artifacts
- Apply content safety checks to harmful generated or user-supplied material
- Encrypt sensitive content in transit and at rest
- Authenticate applications by managed identity where supported
Explanation
Correct Answer
B:The earlier implementation covers a different outcome; to screen an image-generation request against harmful-content policy, use this approach because Content moderation screens relevant risk categories and can block, flag, or route material for review; it addresses content harm rather than data access or network authentication; it adds the requested behavior without confusing it with the existing feature.
Incorrect Answers
A:Its role is to prevent indefinite archival of customer prompts in application logs, while the present test is about the ability to screen an image-generation request against harmful-content policy; the underlying operation is that retention policies limit how long requests, logs, transcripts, and extracted content persist; these controls should reflect legal obligations and minimize unnecessary personal-data storage; the two needs must not be conflated.
C:If the target were to protect uploaded recordings both during transfer and when stored, this would be useful; however the acceptance test is to screen an image-generation request against harmful-content policy; its technical role is that transport encryption protects data moving between components, while storage encryption protects persisted content; encryption complements identity and access policy rather than replacing them; it does not resolve the stated gap.
D:The previously considered capability is useful to rotate away from passwords stored in deployment scripts, whereas the present acceptance test is to screen an image-generation request against harmful-content policy; its mechanism is that managed identities let workloads obtain Microsoft Entra tokens without storing long-lived secrets in source code; Azure permissions still must be granted to the identity for each protected resource; it does not itself deliver the new requirement.
Question 378
A regression checklist for a university learning application has two independent outcomes: it already can distinguish identity discovery from the permissions assigned to that identity, but it must also implement stateful chat rather than stateless isolated requests. Which capability is needed for the second outcome?
- Install the current Azure AI Projects Python client for Foundry development
- Maintain conversation state explicitly when the API requires it
- Inspect the returned response content rather than assuming plain text
- Use DefaultAzureCredential for token-based development authentication
Explanation
Correct Answer
B:The second test calls for a capability that can implement stateful chat rather than stateless isolated requests; A model request does not automatically retain arbitrary prior messages unless the client or service supplies conversation context; applications should use the supported conversation mechanism or pass relevant history; this is the missing implementation, rather than another adjustment to Use DefaultAzureCredential for token-based development authentication.
Incorrect Answers
A:This choice addresses a separate goal to select the supported package family for a lightweight chat client, which is different from the requested outcome to implement stateful chat rather than stateless isolated requests; the relevant technical behavior is the azure-ai-projects package supplies the project SDK, and azure-identity provides credential classes; current Foundry project API examples use the 2.x client family, not classic 1.x patterns; this is not the focused implementation here.
C:This alternative addresses a separate task to inspect output data before passing it to a user interface, not the explicit requirement to implement stateful chat rather than stateless isolated requests; its mechanism is that SDK responses can include structured output items, status, and metadata alongside convenience text properties; applications should handle empty or nontext output appropriately; the requested outcome demands a different operation.
D:The previously considered capability is useful to distinguish identity discovery from the permissions assigned to that identity, whereas the present acceptance test is to implement stateful chat rather than stateless isolated requests; its mechanism is that DefaultAzureCredential attempts supported credential sources such as developer sign-in or managed identity depending on environment; the principal must still have sufficient resource permissions; it does not itself deliver the new requirement.
Question 379
A feature request for a research discovery app reads: “spot a fabricated citation not present among retrieved passages.” Which technical approach is most directly applicable?
- Rerank candidate passages for better relevance before generation
- Chunk long source documents before creating searchable embeddings
- Use hybrid retrieval when both terms and meaning matter
- Include verifiable source references in grounded answers
- Reindex or refresh embeddings when reference content changes
- Store vector embeddings in a search-capable index
Explanation
Correct Answer
D:The requested outcome is to spot a fabricated citation not present among retrieved passages; this action is the focused implementation: citations should identify retrieved evidence and support specific claims, not simply display plausible-looking URLs; application logic can validate that references correspond to available documents; it provides the underlying capability rather than a neighboring workflow step.
Incorrect Answers
A:This alternative addresses a separate task to distinguish candidate recall from final relevance ordering, not the explicit requirement to spot a fabricated citation not present among retrieved passages; its mechanism is that reranking scores initially retrieved results with a more discriminating relevance model or method; it improves ordering but does not certify that the source is correct; the requested outcome demands a different operation.
B:If the target were to index a thousand-page handbook for granular semantic search, this would be useful; however the acceptance test is to spot a fabricated citation not present among retrieved passages; its technical role is that chunking divides documents into retrievable passages that fit useful context sizes; boundaries and overlap can affect whether relevant evidence survives retrieval; it does not resolve the stated gap.
C:This choice addresses a separate goal to support keyword-specific queries and semantically phrased help requests, which is different from the requested outcome to spot a fabricated citation not present among retrieved passages; the relevant technical behavior is hybrid search combines lexical signals with vector similarity to handle exact identifiers and semantic paraphrases; it often helps when documents contain product codes alongside explanatory prose; this is not the focused implementation here.
E:This alternative addresses a separate task to synchronize retrieval content with a newly published knowledge article, not the explicit requirement to spot a fabricated citation not present among retrieved passages; its mechanism is that retrieval freshness depends on ingesting additions, updates, and deletions into the index; A model cannot retrieve a new policy if its search store still contains only the old version; the requested outcome demands a different operation.
F:If the target were to perform nearest-neighbor search across article passages, this would be useful; however the acceptance test is to spot a fabricated citation not present among retrieved passages; its technical role is that A vector index organizes embedding representations for efficient similarity lookup; it supports candidate retrieval; the generation model still constructs the answer; it does not resolve the stated gap.
Question 380
An existing feature in an internal policy assistant uses the approach “Add human escalation for low-confidence or high-risk outputs” to prevent autonomous completion of a transaction with uncertain identity evidence. The next release must avoid hammering an endpoint during brief service congestion. Which action implements the additional behavior?
- Add human escalation for low-confidence or high-risk outputs
- Evaluate on a separate representative test set
- Apply retry with exponential backoff to transient API failures
- Monitor production error rates and response latency
Explanation
Correct Answer
C:The earlier implementation covers a different outcome; to avoid hammering an endpoint during brief service congestion, use this approach because bounded retries with increasing delays can recover from temporary throttling or network errors; they should not endlessly retry invalid credentials or malformed requests; it adds the requested behavior without confusing it with the existing feature.
Incorrect Answers
A:The previously considered capability is useful to prevent autonomous completion of a transaction with uncertain identity evidence, whereas the present acceptance test is to avoid hammering an endpoint during brief service congestion; its mechanism is that A fallback path routes uncertain cases to qualified people rather than pretending the model is certain; thresholds and handoffs should reflect the consequences of a wrong automated action; it does not itself deliver the new requirement.
B:Its role is to identify overfitting before deploying a forecast model, while the present test is about the ability to avoid hammering an endpoint during brief service congestion; the underlying operation is that holdout data estimates generalization to cases not used for training or tuning; scoring only examples the model learned from overstates confidence in reliability; the two needs must not be conflated.
D:If the target were to notice increased request failures following a model deployment, this would be useful; however the acceptance test is to avoid hammering an endpoint during brief service congestion; its technical role is that operational telemetry reveals failed calls, increasing delay, and degraded service after launch; it complements quality evaluation but cannot by itself establish answer correctness; it does not resolve the stated gap.