Microsoft AI-103 (Developing AI Apps and Agents on Azure) Practice Test 46

Question 450

A tool-based agent includes custom orchestration code and needs Foundry-managed hosting. Which of the following would meet this need?

  1. Place an application-facing facade in front of model and agent calls
  2. Deploy the application on a managed compute service with health probes and identity
  3. Use a supported hosted-agent deployment pattern
  4. Use the supported agent publishing and versioning workflow

Explanation

Correct Answer

C:

Hosted agents run developer-supplied code under a managed runtime, unlike declarative prompt agents without custom runtime logic.

Incorrect Answers

A:

A facade decouples external clients from backend deployment changes and can enforce common authentication and response contracts; the requested solution requires providing Foundry-managed hosting rather than this different mechanism.

B:

The host runs application code while the Foundry model endpoint performs inference; both layers need independent operations; it addresses a neighboring concern, while the task tests providing Foundry-managed hosting.

D:

Stable published references let consumers rely on an approved artifact instead of an untracked development draft; on its own this leaves providing Foundry-managed hosting unaddressed.

Question 451

A team wants a simple managed agent driven by instructions and supported tools without maintaining its own agent container. Which method is the best fit?

  1. Expose a controlled subset of eligible traffic to the new release
  2. Use a supported hosted-agent deployment pattern
  3. Choose a prompt agent in Foundry Agent Service
  4. Deploy the application on a managed compute service with health probes and identity

Explanation

Correct Answer

C:

The managed agent runtime handles conversational orchestration and built-in integrations for supported prompt-agent use cases.

Incorrect Answers

A:

Canary deployment enables production verification before full cutover, with rollback tied to observed outcomes; the scenario instead depends on choosing a prompt agent in Foundry Agent Service.

B:

Hosted agents run developer-supplied code under a managed runtime, unlike declarative prompt agents without custom runtime logic; the requested solution requires choosing a prompt agent in Foundry Agent Service rather than this different mechanism.

D:

The host runs application code while the Foundry model endpoint performs inference; both layers need independent operations; it cannot substitute for choosing a prompt agent in Foundry Agent Service under these conditions.

Question 452

An application must maintain an API endpoint independent of the model vendor-specific request shape. Which method is the best fit?

  1. Choose a prompt agent in Foundry Agent Service
  2. Place an application-facing facade in front of model and agent calls
  3. Deploy the application on a managed compute service with health probes and identity
  4. Use the supported agent publishing and versioning workflow

Explanation

Correct Answer

B:

A facade decouples external clients from backend deployment changes and can enforce common authentication and response contracts.

Incorrect Answers

A:

The managed agent runtime handles conversational orchestration and built-in integrations for supported prompt-agent use cases; the needed design choice concerns maintaining an API endpoint independent of the model vendor-specific request shape instead.

C:

The host runs application code while the Foundry model endpoint performs inference; both layers need independent operations; the requested solution requires maintaining an API endpoint independent of the model vendor-specific request shape rather than this different mechanism.

D:

Stable published references let consumers rely on an approved artifact instead of an untracked development draft; it addresses a neighboring concern, while the task tests maintaining an API endpoint independent of the model vendor-specific request shape.

Question 453

A rollout needs to compare live success rates of two agent versions with minimal risk. What is the most suitable next implementation decision?

  1. Choose a prompt agent in Foundry Agent Service
  2. Deploy the application on a managed compute service with health probes and identity
  3. Configure the deployed runtime identity and tool authorization
  4. Expose a controlled subset of eligible traffic to the new release

Explanation

Correct Answer

D:

Canary deployment enables production verification before full cutover, with rollback tied to observed outcomes.

Incorrect Answers

A:

The managed agent runtime handles conversational orchestration and built-in integrations for supported prompt-agent use cases; that would not ensure comparing live success rates of two agent versions with minimal risk for this workload.

B:

The host runs application code while the Foundry model endpoint performs inference; both layers need independent operations; the needed design choice concerns comparing live success rates of two agent versions with minimal risk instead.

C:

A model endpoint alone does not supply credentials to the host or downstream connector; runtime access is separately governed; the scenario instead depends on comparing live success rates of two agent versions with minimal risk.

Question 454

An engineer needs to publish an agent for approved consumers and preserve its version identity. What should the engineer implement?

  1. Configure the deployed runtime identity and tool authorization
  2. Use the supported agent publishing and versioning workflow
  3. Deploy the application on a managed compute service with health probes and identity
  4. Use a supported hosted-agent deployment pattern

Explanation

Correct Answer

B:

Stable published references let consumers rely on an approved artifact instead of an untracked development draft.

Incorrect Answers

A:

A model endpoint alone does not supply credentials to the host or downstream connector; runtime access is separately governed; the relevant decision is publishing an agent for approved consumers and preserving its version identity, not the separate action described here.

C:

The host runs application code while the Foundry model endpoint performs inference; both layers need independent operations; the needed design choice concerns publishing an agent for approved consumers and preserving its version identity instead.

D:

Hosted agents run developer-supplied code under a managed runtime, unlike declarative prompt agents without custom runtime logic; the scenario instead depends on publishing an agent for approved consumers and preserving its version identity.

Question 455

A deployment requires managed workload credentials to call enterprise APIs. Which configuration or component should be selected?

  1. Use the supported agent publishing and versioning workflow
  2. Configure the deployed runtime identity and tool authorization
  3. Choose a prompt agent in Foundry Agent Service
  4. Place an application-facing facade in front of model and agent calls
  5. Use a supported hosted-agent deployment pattern

Explanation

Correct Answer

B:

A model endpoint alone does not supply credentials to the host or downstream connector; runtime access is separately governed.

Incorrect Answers

A:

Stable published references let consumers rely on an approved artifact instead of an untracked development draft; that mechanism does not itself establish providing managed workload credentials to call enterprise APIs.

C:

The managed agent runtime handles conversational orchestration and built-in integrations for supported prompt-agent use cases; that would not ensure providing managed workload credentials to call enterprise APIs for this workload.

D:

A facade decouples external clients from backend deployment changes and can enforce common authentication and response contracts; the needed design choice concerns providing managed workload credentials to call enterprise APIs instead.

E:

Hosted agents run developer-supplied code under a managed runtime, unlike declarative prompt agents without custom runtime logic; the scenario instead depends on providing managed workload credentials to call enterprise APIs.

Question 456

An app is deployed successfully but cannot reach a private search endpoint. How should the developer address this requirement?

  1. Expose a controlled subset of eligible traffic to the new release
  2. Configure the deployed runtime identity and tool authorization
  3. Check host-network integration and private DNS before blaming model inference
  4. Deploy the application on a managed compute service with health probes and identity
  5. Use the supported agent publishing and versioning workflow
  6. Use a supported hosted-agent deployment pattern

Explanation

Correct Answer

C:

Connectivity from the actual application runtime determines whether retrieval can work; CI deployment success is not proof of network reachability.

Incorrect Answers

A:

Canary deployment enables production verification before full cutover, with rollback tied to observed outcomes; meeting the stated constraint still involves checking host-network integration and private DNS before blaming model inference.

B:

A model endpoint alone does not supply credentials to the host or downstream connector; runtime access is separately governed; that mechanism does not itself establish checking host-network integration and private DNS before blaming model inference.

D:

The host runs application code while the Foundry model endpoint performs inference; both layers need independent operations; that would not ensure checking host-network integration and private DNS before blaming model inference for this workload.

E:

Stable published references let consumers rely on an approved artifact instead of an untracked development draft; the needed design choice concerns checking host-network integration and private DNS before blaming model inference instead.

F:

Hosted agents run developer-supplied code under a managed runtime, unlike declarative prompt agents without custom runtime logic; the scenario instead depends on checking host-network integration and private DNS before blaming model inference.

Question 457

A new prompt fixes a language error but causes a regression in tool choice. Which design choice is most appropriate?

  1. Version the prompt and run tool-selection regression tests
  2. Pin or capture dependency and tool versions for reproducible tests
  3. Plan backward-compatible transitions or coordinate versioned consumers
  4. Keep immutable versioned definitions and a rollback mechanism

Explanation

Correct Answer

A:

Prompt edits can change more than wording; targeted tests protect operational behavior before promotion.

Incorrect Answers

B:

Known runtime versions isolate regressions; otherwise hidden integration changes confound comparisons; meeting the stated constraint still involves versioning the prompt and run tool-selection regression tests.

C:

Uncoordinated interface changes can break active executions; staged compatibility protects in-flight workflows; that mechanism does not itself establish versioning the prompt and run tool-selection regression tests.

D:

Restoring a known-good artifact avoids rebuilding an approximate configuration from conversation history; the relevant decision is versioning the prompt and run tool-selection regression tests, not the separate action described here.

Question 458

A deployment change must be approved by security and operations. Which design choice is most appropriate?

  1. Pin or capture dependency and tool versions for reproducible tests
  2. Keep immutable versioned definitions and a rollback mechanism
  3. Store text prompts and workflow definitions as diffable source artifacts
  4. Use code review and controlled release approvals for AI artifacts

Explanation

Correct Answer

D:

Versioned deployments create a reviewable record of what changed and who authorized it.

Incorrect Answers

A:

Known runtime versions isolate regressions; otherwise hidden integration changes confound comparisons; it cannot substitute for bing approved by security and operations under these conditions.

B:

Restoring a known-good artifact avoids rebuilding an approximate configuration from conversation history; on its own this leaves bing approved by security and operations unaddressed.

C:

Readable configuration makes change review and history meaningful compared with manual portal-only edits; meeting the stated constraint still involves bing approved by security and operations.

Question 459

A deployed agent's tool schema is changing while some active clients still use the earlier version. A bad rollout must be reversible, and tests need reproducible dependency behavior. Which THREE release-engineering practices address compatibility, rollback, and reproducibility? Choose THREE.

  1. Keep tool contracts backward-compatible or coordinate versioned client migration
  2. Record and pin runtime and tool dependencies in reproducible tests
  3. Record resolved model and deployment identifiers in run metadata
  4. Version the prompt and run tool-selection regression tests
  5. Use environment-scoped configuration and secret references
  6. Keep release versions immutable and maintain a verified rollback target

Explanation

Correct Answers

A:

Uncoordinated interface changes can break active executions; staged compatibility protects in-flight workflows; active clients must not unexpectedly receive an incompatible tool shape.

B:

Known runtime versions isolate regressions; otherwise hidden integration changes confound comparisons; identical tests require known tool and runtime behavior.

F:

Restoring a known-good artifact avoids rebuilding an approximate configuration from conversation history; operators need a tested previous artifact if the new contract fails.

Incorrect Answers

C:

The configured agent name may stay constant while its inference backend changes; resolved version metadata supports auditing; on its own this leaves backward-compatible contracts, reproducible dependencies, and rollback unaddressed.

D:

Prompt edits can change more than wording; targeted tests protect operational behavior before promotion; meeting the stated constraint still involves backward-compatible contracts, reproducible dependencies, and rollback.

E:

Portable application artifacts should not embed production endpoints or credentials in shared source files; that mechanism does not itself establish backward-compatible contracts, reproducible dependencies, and rollback.

Question 460

A team has multiple environments but config files hardcode one project endpoint. Which configuration or component should be selected?

  1. Keep immutable versioned definitions and a rollback mechanism
  2. Plan backward-compatible transitions or coordinate versioned consumers
  3. Use environment-scoped configuration and secret references
  4. Version the prompt and run tool-selection regression tests

Explanation

Correct Answer

C:

Portable application artifacts should not embed production endpoints or credentials in shared source files.

Incorrect Answers

A:

Restoring a known-good artifact avoids rebuilding an approximate configuration from conversation history; the requested solution requires using environment-scoped configuration and secret references rather than this different mechanism.

B:

Uncoordinated interface changes can break active executions; staged compatibility protects in-flight workflows; it addresses a neighboring concern, while the task tests using environment-scoped configuration and secret references.

D:

Prompt edits can change more than wording; targeted tests protect operational behavior before promotion; on its own this leaves using environment-scoped configuration and secret references unaddressed.

Developing AI Apps and Agents on Azure (AI-103) Practice Tests