AZ400-Q: route a job to the correct agent
One self-hosted agent has a licensed compiler and hardware token; other agents in the pool do not. A signing job must never run on an unsuitable agent. What should the pipeline use?
- A) Agent capabilities and job demands, with restricted pool access, to select a suitable agent. ✓
- B) A random sleep before the job.
- C) A branch name that says
signing. - D) A public IP address on every agent.
Answer: A. Capabilities/demands express execution requirements; pool permissions restrict who can use sensitive runners.
Why not the others: Sleeps, branch names, and public IPs do not select a capable trusted agent.