Microsoft AB-100 Practice Test 28
Question 270
A customer onboarding agent has stable model inference duration near one second, but users experience fifteen-second responses during an enrollment campaign. Traces show many requests waiting before inference starts. Which capacity signal should lead the tuning effort?
- Average words in onboarding messages.
- Queue wait distribution, active concurrency, admission limits and request arrival rate compared with processing capacity.
- Only model generation time because it determines customer latency.
- The count of agent topics configured in the authoring environment.
Explanation
Correct Answer
B:End-to-end latency includes queueing before execution as well as actual model processing. The architect should monitor p95 queue delay, concurrent requests, burst arrivals, throttling and admission capacity. Measurements can inform controlled scaling, rate limits, workload smoothing or alternative compliant model routes. Evaluating arrival and processing rates against service objectives will show whether the campaign exceeds provisioned capacity. This targets the observed wait rather than unnecessarily changing model prompts.
Incorrect Answers
A:Word count can influence token processing, but the traces show waiting occurs before inference begins. Measuring message length alone would not establish why requests spend many seconds in an admission queue. The likely bottleneck is contention for limited processing slots. The team should analyze concurrency and queue behavior instead of assuming longer prompts caused the slowdown.
C:Model inference duration remains near one second, while customers wait much longer. Focusing only on execution would ignore most of the perceived response time. The service could have a perfectly fast model that sits idle behind a constrained scheduler. Capacity diagnosis must include the full request path and pre-execution waiting period.
D:Topic count is a configuration measure, not direct evidence of runtime demand or admission delays. An agent with many seldom-used topics could perform well, while a simple service can saturate one inference pool. The onboarding issue depends on campaign arrival rate and concurrency, not the number of designed conversation topics.
Question 271
A field-service agent retrieves an equipment repair order while a technician is authorized. Ten minutes later, a supervisor removes the technician from the project, but the agent still has a proposed “close work order” action open. What negative test should the team include?
- Confirm that the earlier successful read permits a later close action indefinitely.
- Check whether a prompt reminder says permissions may change.
- Delete audit records when permission changes to avoid confusing reviewers.
- Revoke access between read and write and verify that the execution service rejects the stale session’s close action.
Explanation
Correct Answer
D:The test should authenticate a technician, retrieve the permitted order, revoke the technician’s project assignment, then attempt closure through the pending agent tool call. The expected result is an authorization denial with no state change, even if the conversation still displays old information. The system should surface a truthful failure and require fresh authorization. This verifies execution-time checks rather than trusting stale context.
Incorrect Answers
A:A permitted read does not imply an indefinite right to mutate the record. The technician’s role can change after the agent gathered context, and work-order closure is a distinct action. Reusing earlier permission as permanent authority would create a time-of-check/time-of-use vulnerability. The backend must enforce current entitlements at commit time.
B:A language instruction might remind the model to check permission, but it does not prove that the repair service actually evaluates current authorization. The negative test needs a real role revocation and an attempted write against the backend. Prompt compliance is not an adequate security oracle for this race condition. The service should deny the old session despite apparently valid conversation context.
C:Removing change records would hide why a once-authorized technician was denied later, making the safety control difficult to audit. The test should retain protected evidence of the revocation, attempted action and result. Better logging does not authorize the operation, but it enables verification of the boundary. Audit transparency is especially important for disputed maintenance closures.
Question 272
A loan-offer agent reads an API where principal is an integer number of cents. A new connector sometimes returns amounts above a 32-bit signed integer limit; one test converts $30 million into a negative number. Which validation case is essential?
- Test representative ordinary loan sizes and verify formatted dollar amounts, while leaving numeric overflow cases to the API provider's standard unit tests.
- Test boundary and large amounts with explicit minor units and numeric types, rejecting overflow before a loan offer is composed.
- Convert all principal values to floating-point dollars before the tool response reaches the model, and flag values only when they appear negative.
- Set a business threshold for manual review of unusually large offers, but accept the connector's numeric value for every offer below it.
Explanation
Correct Answer
B:The test suite should include zero, maximum and out-of-range principals, fractional input rejection, supported currency codes, and large amounts encoded in the declared minor units. The connector must use an appropriate numeric type and validate conversions before generation, never relying on a model to reinterpret a wrapped value. The expected oracle is an exact amount or a controlled error, with no misleading negative loan proposal. This catches a concrete integration fault.
Incorrect Answers
A:Ordinary values help validate presentation, but the defect has already appeared at a large principal near or above the integer limit. Provider unit tests cannot prove that this connector's conversion and model-facing schema handle boundary amounts correctly. The team needs end-to-end minor-unit and numeric-range assertions covering the failing high-value loan case.
C:Converting to floating point may avoid one signed-integer overflow path, but it introduces precision concerns and does not establish the original value's correctness after corruption. A wrapped amount may already have lost information. The boundary must validate integer range, currency units, and exact decimal representation before creating the response, not simply inspect the sign afterward.
D:Manual review can mitigate some high-value exposure, yet a malformed minor-unit integer can wrap at a technical boundary unrelated to the loan's policy threshold. A negative or truncated principal must be rejected at ingestion even if the requested loan would otherwise qualify. The test needs numeric-type boundary cases, not only risk-tiered human approval.
Question 273
A global retailer changes its return window from 30 days to 21 days at midnight in the customer’s region on January 1. An agent serves shoppers in time zones spanning both sides of the date boundary. What regression test is necessary?
- Evaluate policy applicability using the customer’s applicable legal region and transaction time, including just-before and just-after boundary cases.
- Use server UTC date for all shoppers without considering the specified local effective time.
- Keep the older policy indefinitely whenever a customer asks about last year.
- Choose whichever refund period the agent thinks will improve customer sentiment.
Explanation
Correct Answer
A:The policy transition has an explicit regional midnight trigger, so tests need to verify the applicable location and transaction time rather than a fixed server clock. Cases immediately before and after the boundary should produce the right 30-day or 21-day rule under the business’s stated applicability policy. The agent must cite the effective version and avoid mixing source dates. This is a temporal correctness test, not merely a language-generation benchmark.
Incorrect Answers
B:A server UTC date can differ from the customer’s local legal date near midnight. Applying one global time boundary would change the policy prematurely for some users and too late for others. The system should normalize timestamps but evaluate the specified regional effective time. Time-zone conversion needs test coverage, particularly around year-end and daylight transitions.
C:Historical orders may legitimately be governed by the old policy depending on the published terms, but the rule cannot be chosen simply because the shopper references last year. The relevant transaction and effective-date contract must determine applicability. Retaining archival policies is useful for evidence, not for overriding newer rules on all future returns.
D:A more generous-looking period could be unauthorized and lead to inconsistent customer treatment. Sentiment is not a valid basis for selecting legal return terms. The agent should apply a published policy version and explain any exception or uncertainty. The regression suite must catch situations where an attractive answer conflicts with the effective regional rule.
Question 274
A municipality uses AI-generated test cases for a public-benefits assistant. The generated dataset contains many fluent desktop users but almost no older devices, low-bandwidth sessions, or screen-reader interactions. Executives want to treat a high pass rate as launch readiness. Which test-design change is required?
- Increase the number of nearly identical desktop prompts until the sample looks large.
- Remove accessibility criteria because they involve user interfaces rather than AI.
- Add representative accessibility and connectivity scenarios with independently defined expected results, then compare segmented failure rates.
- Allow the model to mark its own generated test cases correct without checking them.
Explanation
Correct Answer
C:The testing plan should include screen-reader navigation, low-bandwidth retries, older-device layouts, multilingual prompts and alternative verification channels. Each case needs an outcome oracle defined by service owners or qualified reviewers rather than by the model that generated it. Segmented results can reveal whether one population suffers greater abandonment or errors. The launch decision should reflect these gaps and require remediation or a supported alternative where important accessibility paths fail.
Incorrect Answers
A:Adding redundant desktop prompts increases count but does not cover the missing user journeys. A larger biased sample can still produce an inflated pass rate. The municipality must measure the situations where the assistant is actually expected to work. Duplicate prompt generation is not a substitute for representative operational coverage.
B:Accessibility is part of whether citizens can use an agent successfully. Speech alternatives, screen readers and poor connectivity may affect clarification, handoff and task completion. Excluding these interactions would leave material failures undiscovered before public rollout. The AI quality assessment must include the interface and end-to-end workflow relevant to the user.
D:Self-grading generated cases can reproduce the same assumptions that produced unrepresentative tests. A model might consider an answer good while a user with a screen reader cannot complete the task. Independent expected outcomes, controlled fixtures and human usability evidence are required. Generation may accelerate test drafting, but it does not certify coverage or success.
Question 275
A travel insurer asks two agents to independently assess trip-cancellation eligibility. Their recommendations agree almost perfectly. Reviewers discover both agents retrieve the same stale policy page. What is the most important evaluation adjustment?
- Compare both agents' agreement rate against last month's production decisions, while retaining their shared retrieval source.
- Add an independent third model to vote on difficult cancellations, but allow all agents to use the same insurer policy index.
- Sample cases where the two agents disagree, ask senior reviewers to choose a winner, and leave shared-agreement cases unaudited.
- Test against an independently validated policy oracle and include shared-source corruption cases to reveal correlated errors.
Explanation
Correct Answer
D:The team should compare both agents’ decisions with insurer-approved, effective-dated policy cases and deliberately introduce a stale or corrupted shared source during evaluation. The expected behavior includes recognizing obsolete evidence, escalating uncertainty and avoiding automatic eligibility decisions where the current rule is unavailable. This tests whether multiple agents truly add resilience or simply repeat the same mistake. Independent grading and source lineage are essential to interpret the apparent agreement.
Incorrect Answers
A:A historical agreement benchmark may show stability, but the scenario already reveals a common stale page. Both agents can agree with one another and with earlier wrong decisions if the knowledge source never changed. The validation must use an independently approved current policy oracle and deliberately exercise correlated source faults to measure whether agreement is meaningful.
B:A third model may reduce independent reasoning errors, but it does not eliminate a shared source's outdated rule. Consensus across three responses from one obsolete page can be confidently incorrect. The insurer should test source integrity and policy effective dates against an external truth set rather than assume a larger committee provides evidence independence.
C:Disagreement samples help diagnose coordination problems, but the observed failure arises when the two agents reach the same wrong conclusion. Excluding agreement cases would miss exactly the common-mode source error. Review must include approved-policy truth checks for agreeing recommendations and intentionally stale-document scenarios, with citations retained to identify correlated mistakes.
Question 276
A customs broker’s agent extracts data from scanned shipping documents and can submit a draft declaration. A malicious packing list contains tiny printed instructions telling the assistant to override the declared value and bypass review. Which TWO tests should run before deployment? Choose TWO.
- Insert adversarial document text and confirm the agent treats it as lower-trust source content, not operational instructions.
- Test only whether the document title appears correctly in a generated summary.
- Verify the declaration API independently rejects unauthorized value changes and bypassed review states.
- Grant OCR text developer-level authority so every instruction can be executed.
- Remove action logs so the injected text is not visible to auditors.
Explanation
Correct Answers
A:The packing list is external evidence and must not become a higher-priority instruction source simply because OCR extracts readable text. A red-team case should embed the malicious request in different positions and forms, including small print and forged procedural language. The test passes when the agent extracts legitimate shipping facts but refuses to let document prose redefine valuation or review policy. This checks the model’s trust handling at the ingestion boundary.
C:The declaration endpoint must validate value-change authority and mandatory review regardless of what the model requests. A negative test should attempt the unauthorized action and verify rejection with no committed declaration, including when OCR output contains persuasive fake instructions. Correlated tool logs should show the denied attempt. This defense-in-depth approach prevents a model mistake from becoming a customs transaction even if prompt isolation is imperfect.
Incorrect Answers
B:Correctly displaying a document title proves little about whether the agent obeys an injected command. The dangerous behavior is changing declared value or skipping an approval. A useful test must observe tool intent and the actual submitted state under adversarial content. Grammar and title recognition are insufficient release oracles for a customs action.
D:An external shipping document cannot legitimately assign developer permissions to an agent. Promoting OCR text into system authority would create a direct prompt-injection path. The agent’s operating instructions and service permissions must come from trusted configuration, not from supplier-supplied cargo content. The exact attack would then be able to override legally required review steps.
E:Erasing tool logs would make it harder to confirm that malicious document text was rejected and whether any declaration was altered. Protected traces are necessary for incident review and regression testing. Sensitive cargo data should be minimized in logs, but the existence of an unauthorized action attempt must remain observable. Hidden behavior cannot establish compliance.
Question 277
A public utility’s voice agent serves emergency outage reports in several regional dialects. Automatic translation makes some severe outage descriptions sound like routine maintenance questions. The team wants to use a single English test set. What evaluation approach is correct?
- Have native-speaking reviewers grade the English translations for fluency and completeness on recorded calls.
- Build dialect-specific, representative audio cases with severity labels and verify escalation recall and human fallback end to end.
- Test recognition on the standard national language and apply the resulting accuracy score to regional dialects.
- Send unfamiliar dialect utterances to general customer service and use English transcript accuracy as the overall release metric.
Explanation
Correct Answer
B:The test corpus should include approved dialect recordings, accents, noise, severe incident descriptions and ambiguous cases, with qualified reviewers assigning expected severity and escalation. The end-to-end test checks recognition, translation or intent detection, tool routing and whether a human emergency path is offered promptly. Metrics should include recall for high-severity cases and false alarms by dialect. This verifies safety performance for the actual callers rather than assuming English examples transfer automatically.
Incorrect Answers
A:Fluency assessment can find awkward translations but does not ensure that a severe electrical outage is classified with the correct urgency. A translation may sound natural while softening a critical term. The evaluation needs source audio representing local dialects, authoritative severity labels, and end-to-end escalation tests so dangerous cases cannot be misrouted as ordinary maintenance.
C:A high speech-recognition score for the standard form does not predict behavior for dialect-specific vocabulary, accents, code-switching or emergency descriptions. The known failure occurs in regional speech and its severity mapping. The test corpus should represent those callers and verify whether the downstream workflow escalates genuine emergencies, including uncertainty and human fallback when recognition fails.
D:Transferring uncertain calls is preferable to fabricating a resolution, but a general service route may delay a genuine emergency and English transcript scores do not establish urgency recall. The utility needs a severity-aware fallback and evidence that critical dialect cases reach the emergency procedure reliably. Unknown speech should not be graded successful merely because some handoff occurred.
Question 278
A retailer is evaluating an autonomous refund-recommendation agent in shadow mode. Its mock checkout action and real refund API share one connector configuration, and an integration test unexpectedly posts a live $20 credit. The team plans to continue testing while instructing the agent not to call the real tool. What release test is essential?
- Run shadow evaluations against an isolated nonproduction action sink and assert that no real financial records can change even under adversarial tool calls.
- Depend on a system prompt saying “simulation only” while retaining production refund credentials.
- Send test refunds to actual customers and reconcile mistakes at month-end.
- Delete payment events from the test log so the pilot appears read-only.
Explanation
Correct Answer
A:A shadow pilot should compare proposed refund decisions without executing real credits. The test environment must use isolated or mocked transaction endpoints whose credentials cannot mutate live payment records. The team should deliberately attempt forbidden refund calls and verify that the production ledger remains unchanged. It also needs stable synthetic order identifiers and distinct run receipts. This tests the technical isolation of the pilot rather than trusting the agent to remember that it is only observing.
Incorrect Answers
B:A prompt is not an enforceable separation between test and production payment systems. If the connector still has refund credentials, a misconfigured tool or manipulated message can invoke it despite simulation wording. The earlier $20 credit demonstrates that the authority boundary is already broken. Real transaction permissions must be absent or independently denied during shadow testing.
C:Real customer refunds are consequential financial actions, not suitable fixtures for a shadow evaluation. Reconciling later does not eliminate unexpected transfers, disputes or duplicate credits. The retailer can use synthetic records or a controlled simulator with representative policy and error behavior. A pilot must prove its nonproduction isolation before any deliberate business-action authorization is considered.
D:Erasing payment events would conceal the defect and prevent verification that shadow calls were blocked. The team needs protected logs of attempted writes and authoritative proof that production data were unaffected. Audit evidence helps identify which configuration was shared and how to correct it. Hiding a failed control cannot turn a live refund into a simulated one.
Question 279
A retailer packages a Copilot Studio agent in a managed Power Platform solution for production. A maker edited a production topic outside the managed release process, creating an unmanaged layer that overrides the new packaged topic. The next deployment appears successful but old behavior persists. What ALM action is appropriate?
- Increase the managed solution version and import it again, expecting the higher version number to replace the conflicting production layer.
- Investigate solution layering, remove or reconcile the unauthorized unmanaged customization through governance, and redeploy a validated managed version.
- Edit the topic directly in production to match the packaged version, leaving the unmanaged layer for later cleanup.
- Confirm the solution import succeeded and close the deployment ticket while opening a separate prompt-quality investigation.
Explanation
Correct Answer
B:The release owner should inspect solution layers on the affected component, identify who introduced the production override, and follow the approved method to remove or incorporate it. The managed package can then be promoted from a tested source with environment-specific dependencies verified. Regression testing must confirm actual topic behavior after deployment, not merely a successful import. This restores predictable ALM while preserving an audit trail of the emergency or accidental edit.
Incorrect Answers
A:A higher managed version can deploy successfully while an unmanaged customization still takes precedence over its component. The reported symptom is an override in solution layering, not a failure to recognize version numbers. The release owner must inspect active layers, govern the unauthorized customization, and retest the actual runtime behavior after the correction.
C:A direct edit might make one conversation appear correct, but it continues the unmanaged production drift that caused the incident. Future imports may still behave unpredictably, and source control will not represent the active component. The organization should reconcile layers through governed ALM rather than repair a managed-package conflict by creating another manual production alteration.
D:An import receipt proves that package processing completed, not that the runtime selected the intended managed topic. The existing unmanaged layer can override it without a deployment error. The investigation should include the active component stack and representative topic tests, then confirm that the approved layer is serving users before closing the release.
Question 280
A customer-service agent connects to an external returns API. The vendor introduces a new OAuth scope required to retrieve item-level return reasons, while the old scope still permits summary counts. A connector update is ready, but production approval has not been granted for the expanded permission. What release action is correct?
- Deploy and request the new scope on behalf of every customer automatically.
- Use an administrator refresh token in a hidden prompt until security approves the change.
- Treat the new scope as a permission-bearing dependency; review least privilege, approve it, and test affected calls before releasing.
- Remove all connector error logging so scope-denied responses are less visible.
Explanation
Correct Answer
C:The release must document the new scope, data categories, principal ownership and affected endpoints as part of its dependency manifest. Security and business owners can approve a minimal permission set, after which contract and negative tests verify both the new item-level call and rejection under old or revoked scopes. The agent should not claim detailed return evidence when the connector lacks permission. This prevents a functional upgrade from becoming an uncontrolled access expansion.
Incorrect Answers
A:A connector update cannot silently expand permission to item-level customer data. The broader scope may expose additional personal or order information and requires business and security review. Automatic consent would bypass the existing approval model. The organization should keep the current limited integration or a safe degraded mode until authorization is established.
B:Administrator tokens introduce excessive authority and expose credentials through an inappropriate text surface. This would obscure which scope the agent is genuinely entitled to use. A prompt cannot grant legitimate permission to an external API. The service needs approved credentials and recorded consent, not a temporary secret-bearing workaround.
D:Suppressing scope errors would conceal a configuration incompatibility and make user-facing false claims more likely. The application needs to distinguish denied detail retrieval from a legitimate absence of return reasons. Protected logs help diagnose permission and consent errors during rollout. Hiding them would not make the API call authorized or functional.