Question 50
An external service principal still uses a certificate that expires next week and has no automated renewal. Which operational control should be prioritized?
- Use a system-assigned managed identity for one Azure resource
- Assign only data-plane access for Key Vault secret retrieval
- Separate production and development deployment identities
- Rotate expiring application credentials before outage
Explanation
Correct Answer
D:Credential expiry monitoring and planned rotation prevent authentication failures while maintaining auditability of replacement keys.
Incorrect Answers
A:A system-assigned managed identity is tied to the lifecycle of one Azure resource and can obtain Entra tokens without stored passwords; that changes resource-lifecycle-bound workload identity without delivering noninteractive identity credential continuity.
B:Key Vault data-plane roles or access policies grant secret retrieval without general resource management authority; secret-read without infrastructure administration cannot substitute for noninteractive identity credential continuity.
C:Distinct workload identities and scoped RBAC separate lower-trust development automation from production deployment authority; noninteractive identity credential continuity falls outside the scope of environment identity isolation.
Question 51
A long build gets queued repeatedly as developers push several updates to the same branch, wasting agent time. Which CI trigger setting can reduce redundant queued runs?
- Filter GitHub workflow events by branch and path
- Use batch for overlapping Azure Pipeline CI pushes
- Use Azure Repos build validation instead of YAML PR trigger
- Use GitHub Actions concurrency cancellation
- Configure a branch push trigger in Azure Pipelines
Explanation
Correct Answer
B:Azure Pipelines CI batching can aggregate changes while a branch build is running, reducing unnecessary intermediate runs.
Incorrect Answers
A:GitHub Actions event configuration can combine target branch and path filters to limit runs to relevant proposed changes; coalescing frequent branch updates remains outside the responsibility of combined PR target and file selection.
C:Azure Repos Git PR validation is configured through branch build-validation policies rather than relying on the YAML pr trigger used for other repository providers; Azure Repos target-branch PR validation concerns a different control point than coalescing frequent branch updates.
D:Concurrency groups with cancel-in-progress can stop superseded workflow runs and conserve capacity; here coalescing frequent branch updates is the target, not canceling obsolete workflow executions.
E:A CI trigger with branch inclusion for main queues runs on matching pushes while excluding unrelated branches; although that supports push-based mainline build selection, this scenario calls for coalescing frequent branch updates.
Question 52
A multi-stage deployment YAML is stored separately from its producer CI pipeline and must reference the exact upstream run. Which YAML resource type supports this binding?
- Use pipeline resource artifact download
- Reference a template from another repository
- Connect GitHub via the Azure Pipelines GitHub App
- Define secure service connection authorization
Explanation
Correct Answer
A:Pipeline resources identify producer pipelines and their runs so downstream workflows can download associated build artifacts.
Incorrect Answers
B:An external template repository resource lets pipeline YAML import standardized templates from a separately versioned source; its effect is remote shared YAML composition, not downstream consumption of upstream build output.
C:The Azure Pipelines GitHub App authorizes access to selected repositories and integrates pipeline checks with GitHub pull requests; that changes app-scoped GitHub pipeline integration without delivering downstream consumption of upstream build output.
D:Service connections are protected resources; a pipeline requires explicit authorization or appropriate resource permissions before use; controlled pipeline access to cloud connection cannot substitute for downstream consumption of upstream build output.
Question 53
Maintainers receive ambiguous defect reports and need required fields for versions, reproduction steps, and observed behavior at submission time. Which repository configuration helps?
- Link commits to Azure Boards work items
- Use GitHub issue forms for structured intake
- Use GitHub Projects custom fields and workflows
- Use Azure Boards delivery plans
Explanation
Correct Answer
B:Issue forms define structured fields for new reports, so maintainers receive consistent triage information from contributors.
Incorrect Answers
A:Referencing work-item IDs from commits and pull requests creates navigable development links in the work item and improves auditability; this option addresses code-to-backlog traceability rather than addressing standardized issue reporting.
C:GitHub Projects supports custom fields, multiple table/board views, and automation tied to repository issues and pull requests; standardized issue reporting remains outside the responsibility of configurable GitHub work visualization.
D:Delivery Plans aggregates scheduled work from selected Azure Boards teams into a cross-team timeline for dependency and progress visibility; that acts on cross-team work schedule visibility, whereas the requested outcome is standardized issue reporting.
Question 54
Stakeholders want to detect chronic overcommitment, not only the total backlog count. Which comparison is most actionable?
- Compare planned versus completed work each sprint
- Measure pull request review wait time
- Distinguish deployment frequency from build frequency
- Use velocity for iteration capacity forecasting
Explanation
Correct Answer
A:Comparing committed sprint scope with work actually completed shows forecasting reliability and can drive realistic iteration planning.
Incorrect Answers
B:Pull request review latency captures the time a change waits for reviewer attention or approval, isolating a common delivery bottleneck; the distinction is approval wait time versus iteration commitment reliability.
C:Deployment frequency counts successful releases to the target production environment rather than CI runs or commits; iteration commitment reliability cannot be delivered through production release cadence.
D:Velocity summarizes work completed in prior iterations and can inform capacity planning for the same team when estimation stays consistent; its effect is historical sprint throughput, not iteration commitment reliability.
Question 55
Two versions of a service run during a canary rollout, and SREs must compare exception rates between old and new versions. Which instrumentation metadata matters?
- Use live metrics for immediate release observation
- Use sampling to control high-volume telemetry
- Use custom events for feature adoption
- Attach deployment version to application telemetry
Explanation
Correct Answer
D:Recording application version or release identifiers with telemetry enables per-version filtering and regression comparison.
Incorrect Answers
A:Live Metrics supports low-latency observation of selected application signals during active incidents or deployments; it contributes to immediate application health feedback, with version-specific canary analysis still requiring its own control.
B:Telemetry sampling reduces selected event volume while retaining enough context for supported analysis and correlated investigation; this solves cost-aware telemetry volume control, leaving version-specific canary analysis unresolved.
C:Custom events can record meaningful application actions with properties needed to measure feature behavior by rollout cohort; this option addresses business-specific application usage measurement rather than addressing version-specific canary analysis.
Question 56
An integration manages multiple repositories, needs fine-grained permissions, and must not depend on a developer's personal account lifecycle. Which GitHub identity is most suitable?
- Use protected environments to gate secret access
- Use installation access tokens for GitHub App API calls
- Replace a departed employee's PAT
- Use outside collaborator access for a contractor
- Use a GitHub App for organization-wide automation
Explanation
Correct Answer
E:GitHub Apps use installation-scoped permissions and short-lived access tokens, separating integration identity from individual users.
Incorrect Answers
A:GitHub environment protection rules can gate job execution and access to environment-scoped secrets; here app-scoped multi-repository automation is the target, not guarded production secret exposure.
B:An installation access token provides time-limited API authority according to the app's installed repositories and permissions; although that supports operational GitHub App installation identity, this scenario calls for app-scoped multi-repository automation.
C:A GitHub App or other nonperson service identity avoids tying essential automation to a departing user's credentials; app-scoped multi-repository automation cannot be inferred from personnel-independent automation authentication alone.
D:Outside collaborators receive targeted repository access without organization membership, under relevant organizational restrictions; the distinction is repository-only external participation versus app-scoped multi-repository automation.
Question 57
Multiple service pipelines require the same nonsecret container registry and artifact prefix values stored alongside code review. Which YAML reuse feature fits?
- Version shared templates by repository ref
- Create a stages template for common releases
- Use variable templates for shared nonsecret settings
- Avoid expanding secrets into compile-time templates
Explanation
Correct Answer
C:Variable templates keep common nonsecret values in checked-in YAML for consistent versioned inclusion. Pull requests can review changes to the shared template before dependent service builds adopt those values.
Incorrect Answers
A:Pinning a template repository resource to a reviewed tag or commit controls when consuming pipelines receive template revisions; predictable shared-template version cannot substitute for source-controlled configuration reuse.
B:A stages template supplies an entire multi-stage workflow and accepts parameters for service-specific variation; source-controlled configuration reuse falls outside the scope of reusable release phase graph.
D:Runtime secret variables or Key Vault retrieval keep sensitive values out of source-controlled template expansion and minimize accidental disclosure; this solves separating secrets from YAML compilation, leaving source-controlled configuration reuse unresolved.
Question 58
A service rollback may keep older clients running after a database release, and procedure signatures must not break them. Which contract practice is required?
- Require a database compatibility test before promotion
- Validate schema changes on a production-like dataset
- Separate application and database rollback strategies
- Use backward-compatible stored procedure changes
- Make database migrations retry-safe
Explanation
Correct Answer
D:Compatible procedure interfaces or parallel versions allow old and new clients to operate during the transition.
Incorrect Answers
A:Integration tests exercising the candidate application against the migrated schema catch contract mismatch before production promotion; that acts on application-schema contract verification, whereas the requested outcome is stable database API for multiple versions.
B:Rehearsing migrations on realistic data volumes exposes locking, performance, and compatibility problems absent from trivial test fixtures; representative migration execution concerns a different control point than stable database API for multiple versions.
C:Database changes need explicit recovery or forward-fix handling because code rollback alone does not reverse mutated stored data; here stable database API for multiple versions is the target, not independent data rollback planning.
E:Idempotent or state-aware migration execution detects already applied changes and prevents duplicate effects during retry; stable database API for multiple versions cannot be inferred from safe partial migration rerun alone.
Question 59
A reused self-hosted agent occasionally picks up leftover generated files and produces inconsistent results. What job setting reduces residual state?
- Use workspace clean before state-sensitive builds
- Use a matrix strategy for independent test variants
- Use explicit cross-stage dependencies
- Use separate build and deployment stages
- Use a server job for external approval orchestration
Explanation
Correct Answer
A:Workspace cleaning deletes selected previous contents before work starts, reducing contamination on persistent agents.
Incorrect Answers
B:A matrix strategy creates related job variants from configuration values, letting each variant run with its own parameters; that changes parameterized parallel test expansion without delivering self-hosted workspace hygiene.
C:Stage dependencies encode prerequisite success across earlier stages, preventing premature promotion when multiple checks are required; multi-stage release prerequisite graph cannot substitute for self-hosted workspace hygiene.
D:Multi-stage YAML pipelines separate build and release phases with independent conditions, dependencies, and environment controls; self-hosted workspace hygiene falls outside the scope of separation of build and delivery boundaries.
E:Agentless server jobs execute supported orchestration tasks on the service, avoiding a long-running reserved worker for approval waits; it contributes to agentless approval waiting, with self-hosted workspace hygiene still requiring its own control.
Question 60
Mobile app builds require a protected signing certificate file that must be authorized and downloaded only during release jobs. Which resource fits?
- Use an Azure Pipelines Key Vault-linked variable group
- Avoid echoing command-line credentials
- Retrieve deployment secrets from Azure Key Vault
- Use Azure Pipelines secure files for a signing file
Explanation
Correct Answer
D:Secure files store sensitive file assets separately from source control and provide pipeline permissions for controlled use.
Incorrect Answers
A:A Key Vault-linked variable group maps selected vault secrets into authorized pipelines at runtime; it handles reusable protected vault references but cannot by itself deliver protected binary credential material.
B:Supply credentials through protected inputs or supported environment mechanisms rather than exposing them in printed arguments; protected binary credential material remains outside the responsibility of nonlogged secret delivery to tools.
C:Key Vault protects secret values and supports controlled runtime retrieval without committing them to pipeline code; that acts on centralized runtime secret retrieval, whereas the requested outcome is protected binary credential material.