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

CertStreak
Menu

Implement and manage Azure DevOps service connections and personal access tokens

A worked example

Single answer

A project has one production deployment pipeline and several development pipelines. You are configuring a new production service connection with the required target-resource permissions and no existing pipeline authorizations.

The production deployment pipeline must be able to use the connection immediately. Development pipelines and pipelines created later must receive no access unless explicitly authorized.

How should you configure Grant access permission to all pipelines and the connection's pipeline authorizations?

Choose one answer
Why

Disable the setting and authorize the production pipeline individually. This makes the connection available to production while requiring a separate authorization decision for development or future pipelines.

  • Not correct: Disable the setting and leave every pipeline without authorization. The source requires explicit authorization for a pipeline to use the connection when the setting is disabled. Production would therefore lack its required authorization.
  • Not correct: Enable the setting and rely on the project-wide grant for production. The source states that enabling this setting authorizes all existing and future pipelines, exceeding the required access.
  • Correct: Disable the setting and explicitly authorize the production pipeline. The source requires individual pipeline authorization when the setting is disabled. Authorizing production supplies its required access without granting access to other pipelines.
  • Not correct: Disable the setting and explicitly authorize the development pipelines. Although disabling the setting avoids a project-wide grant, authorizing the development pipelines grants access to pipelines that should remain unauthorized. It also leaves production without the explicit authorization required by the source.

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