Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Implement an Azure DevOps or GitHub runner agent infrastructure

A worked example

Single answer

A Windows server hosts a self-hosted Azure Pipelines agent. Its local identities have these duties:

  • PlatformOps contains the DevOps administrators who investigate agent failures.
  • AgentSvc is the account running the agent process.
  • ProjectAuthors contains developers who edit repositories and have no agent administration duties.

Which access assignment follows Azure Pipelines security guidance for the agent's local directory?

Choose one answer
Why

The agent directory can contain sensitive files, so its access should be restricted. PlatformOps needs access for troubleshooting, and AgentSvc needs access to run the agent; ProjectAuthors has no stated local duty requiring access.

  • Not correct: Grant access to PlatformOps and ProjectAuthors. This omits the identity running the agent. The source recommends directory access for that identity as well as DevOps administrators.
  • Not correct: Grant access to PlatformOps, AgentSvc, and ProjectAuthors. ProjectAuthors performs neither required local duty. Adding that group broadens access beyond the source's recommendation to restrict the directory to DevOps administrators and the agent's execution identity.
  • Correct: Grant access to PlatformOps and AgentSvc. These are the DevOps administrators and the identity running the agent. This matches the source's directory-access recommendation and satisfies both required local duties.
  • Not correct: Grant access to AgentSvc and ProjectAuthors. This omits the administrators who must investigate failures. The source includes DevOps administrators among the identities that should have access to the agent directory.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free