6 worked examples, with the reasoning spelled out. These are written for this page rather than taken from the live bank — showing a real question would spend it as a measurement for anyone who read this first.
Implement generative AI and agentic solutions — 30-35%
You are building an agent in Microsoft Foundry that must answer questions from your company's internal documents and cite where each answer came from. Which approach is most appropriate?
- AFine-tune the model on the documents so that it memorises their contents
- BPaste the full text of every document into the system prompt for each request
- CGround the agent with a retrieval index over the documents and return citationsCorrect
- DRaise the max tokens setting so the model can recall more of its training data
WhyRetrieval keeps the knowledge outside the model, so it stays current when documents change and every answer can point at the passage it came from. Fine-tuning teaches style and format rather than reliable recall and cannot cite, pasting everything into the prompt does not scale, and max tokens limits output length — it has nothing to do with knowledge.
Plan and manage an Azure AI solution — 25-30%
Your app calls an Azure AI endpoint using an API key stored in its application settings. Security policy now forbids long-lived secrets. What should you do?
- AUse a managed identity with Microsoft Entra ID and grant it an RBAC role on the resourceCorrect
- BKeep the API key in app settings but rotate it automatically every 90 days with a scheduled job
- CStore the key in the source repository, encrypted with a password the team shares
- DMove the key into an environment variable that is read by the client-side code
WhyA managed identity removes the secret altogether: the platform issues short-lived tokens and access is governed by role assignments you can audit and revoke. Rotation shortens a secret's life but still leaves one to steal, and the other two options spread the key further.
Plan and manage an Azure AI solution — 25-30%
A customer-facing chat app must block hateful and violent content in both what users send and what the model returns. What should you configure?
- AA system message asking the model to stay polite and avoid offensive topics
- BA lower temperature, so that the model produces fewer harmful generations
- CA weekly human review of logged conversations, with offending users banned afterwards
- DContent filters applied to both prompts and completionsCorrect
WhyContent filtering classifies prompts and completions by harm category and severity and blocks them in line, on both directions of the conversation. A system message is guidance the model can be talked out of, temperature controls randomness rather than harm, and a weekly review finds the problem after users have already seen it.
Implement computer vision solutions — 10-15%
A retailer wants to find each product on photos of store shelves and return where it sits in the image as a bounding box. Which computer vision task is this?
- AImage classification
- BObject detectionCorrect
- COptical character recognition
- DImage captioning
WhyObject detection returns a label and a bounding box for each object it finds, which is exactly "what and where". Classification gives one label for the whole image, OCR reads text, and captioning describes the scene in a sentence — none of them locate individual items.
Implement text analysis solutions — 10-15%
Support tickets must have phone numbers, email addresses and other personal data found and redacted before they are stored for analytics. Which text analysis capability fits?
- ASentiment analysis
- BKey phrase extraction
- CPersonally identifiable information (PII) detectionCorrect
- DLanguage detection
WhyPII detection recognises categories of personal data in text and can return a redacted version, which is the whole requirement. Sentiment, key phrases and language detection all analyse the text without identifying which parts of it are personal data.
Implement information extraction solutions — 10-15%
Invoices from hundreds of suppliers arrive as PDFs with different layouts. You need the vendor name, invoice total and due date as structured fields. What is the most appropriate approach?
- AUse a prebuilt invoice model in Azure AI Document IntelligenceCorrect
- BRun OCR on each page and maintain a set of regular expressions for every supplier layout
- CAsk a chat model to summarise each invoice in a paragraph that staff can read
- DTranslate each invoice into English first and then search the text for keywords
WhyA prebuilt invoice model already understands invoice structure across layouts and returns named fields with confidence scores. Per-supplier regular expressions break with every new layout, and a summary or keyword search gives prose rather than the structured fields the requirement asks for.