Sample question 1 — Design a Machine Learning Solution
A banking app must decide whether a card payment is fraudulent while the customer waits at the terminal, and the answer has to arrive in under two hundred milliseconds. Traffic is steady during trading hours and drops to almost nothing overnight, and the team wants Azure to handle the scaling of the hosting infrastructure. Which deployment target should the team use?
- A. Deploying the model to a managed online endpoint with autoscaling.
- B. Deploying the model to a batch endpoint that runs every fifteen minutes.
- C. Deploying the model to a compute instance that answers requests directly.
- D. Deploying the model inside an Azure Machine Learning pipeline schedule.
Answer: A. Option A is correct because a managed online endpoint serves individual requests with low latency and adjusts the number of instances as traffic changes. Option B is incorrect because a batch endpoint works through stored records on a schedule and cannot answer a waiting customer. Option C is incorrect because a compute instance is a development machine without the endpoint routing and scaling features. Option D is incorrect because a pipeline runs processing steps and does not expose a scoring route to callers.
