Question 20
A release must expand traffic from pilot to broad availability only while latency and errors remain inside thresholds. Which rollout design fits?
- Use feature flags to decouple release and launch
- Use rolling deployment to update instances incrementally
- Use progressive exposure with automatic health gates
- Use canary deployment for small initial exposure
- Use percentage-based feature targeting
Explanation
Correct Answer
C:Progressive delivery couples staged exposure with monitored health metrics so advancement can stop or reverse on regression.
Incorrect Answers
A:Feature flags control application behavior at runtime without requiring a second code deployment for every exposure decision; telemetry-gated exposure expansion cannot be delivered through independent functionality activation.
B:Rolling deployment updates bounded sets of instances and keeps unaffected replicas serving traffic during the transition; its effect is gradual replica replacement, not telemetry-gated exposure expansion.
D:Canary deployment exposes a new version to a limited traffic subset before broadening it based on monitored results; low-percentage release exposure cannot substitute for telemetry-gated exposure expansion.
E:Percentage targeting can expose a flag to a configured user share using consistent targeting rules where supported; telemetry-gated exposure expansion falls outside the scope of stable fractional feature audience.
Question 21
A GitHub repository must prevent a pull request from merging unless its required CI workflow check reports success. Which protection should be applied?
- Reset votes when source changes
- Require successful GitHub checks before merging
- Require minimum approving reviewers in Azure Repos
- Require build validation on the target branch
Explanation
Correct Answer
B:GitHub branch protection or rulesets can require specified status checks to pass on the protected target branch.
Incorrect Answers
A:Vote reset or approval restrictions after new pushes prevent stale approvals from authorizing substantially changed code; this option addresses review freshness after new commits rather than addressing GitHub merge blocked by CI.
C:The minimum reviewer policy sets the number of eligible approvals required to complete pull requests into a protected branch; GitHub merge blocked by CI remains outside the responsibility of mandatory reviewer quorum.
D:A build validation policy queues or requires a qualifying PR validation run and gates completion on its result; that acts on premerge build success, whereas the requested outcome is GitHub merge blocked by CI.
Question 22
Build operators need a stable, reviewable identifier for exact released commits, and accidental retagging must be discouraged. Which source-control practice fits?
- Use short-lived feature branches with pull requests
- Use branch-per-environment only with clear tradeoffs
- Protect production release tags
- Adopt trunk-based development with small integrations
Explanation
Correct Answer
C:Protected tags and signed release practices stabilize version references and make tampering or unintended movement easier to prevent or detect.
Incorrect Answers
A:Short-lived feature branches allow focused work and review before merging back to the primary branch; immutable release identity cannot be inferred from reviewable isolated changes alone.
B:Building one immutable artifact from a shared mainline and promoting it across environments reduces code drift caused by long-lived environment branches; the distinction is artifact promotion instead of branch drift versus immutable release identity.
D:Trunk-based development relies on frequent small merges to a shared mainline, often shielding unfinished functionality behind flags; its effect is minimizing branch divergence, not immutable release identity.
Question 23
Maintainers must prevent history rewriting on main even by users who ordinarily can push commits. Which permission deserves explicit review?
- Use GitHub repository roles for least privilege
- Require approvals from CODEOWNERS in GitHub
- Restrict force pushes on protected branches
- Use tag prefixes to distinguish versions
- Use annotated Git tags for audited releases
Explanation
Correct Answer
C:Force push permissions govern rewriting and deletion of branches or tags, a higher-risk action than ordinary contribution.
Incorrect Answers
A:Assign the least powerful repository role that supports code contribution, keeping administration privileges separate; it contributes to contributor versus administrator separation, with prevention of shared-history replacement still requiring its own control.
B:CODEOWNERS identifies responsible reviewers, and branch protection can require code owner review before merging; this solves protected ownership approval, leaving prevention of shared-history replacement unresolved.
D:Component-specific tag prefixes make release identities unambiguous without creating separate histories for each package; it handles component-specific tag namespaces but cannot by itself deliver prevention of shared-history replacement.
E:Annotated tags create dedicated Git tag objects with metadata and are useful for durable release identification; prevention of shared-history replacement remains outside the responsibility of metadata-rich release markers.
Question 24
Automatic tests finish successfully, but a change manager must authorize promotion to a regulated production environment. Which gate supplies that decision?
- Publish code coverage results in Azure Pipelines
- Fail the build on a defined coverage threshold
- Use Azure Monitor alert evaluation as a release check
- Run a dependency vulnerability scan in CI
- Use a manual approval before a regulated deployment
Explanation
Correct Answer
E:An environment approval check blocks the deployment stage until the designated approver grants authorization. Resource owners can manage this check outside YAML, protecting the decision from a pipeline-author-only edit.
Incorrect Answers
A:The code coverage publishing step imports supported reports from test tools into the pipeline's coverage reporting surface; here controlled human release approval is the target, not visible code coverage artifact.
B:A coverage-checking script or quality gate evaluates the computed metric against a threshold and returns a failing status when unmet; although that supports enforced minimum tested-code percentage, this scenario calls for controlled human release approval.
C:An Azure Monitor alert query check can block resource consumption while relevant monitored conditions violate deployment criteria; controlled human release approval cannot be inferred from operational health gating before rollout alone.
D:Software composition analysis compares dependency identities and versions with known vulnerability data during the build; the distinction is third-party package risk detection versus controlled human release approval.
Question 25
Release engineers suspect rollout time has doubled after adding new checks and need a measurable baseline. Which telemetry should they chart?
- Use Azure Boards shared queries for team reporting
- Correlate incident counts with releases
- Analyze backlog throughput by work item type
- Use deployment duration trends
- Track rollback count by release
Explanation
Correct Answer
D:Deployment duration by stage and environment identifies slower pipeline activities and supports targeted release-process optimization.
Incorrect Answers
A:Shared queries are accessible to authorized project members and can power work item query results on team dashboards; reusable project-wide work queries cannot substitute for environment rollout elapsed time.
B:Time-aligning deployment events with incident counts reveals associations worth investigating without asserting deployment caused every incident; environment rollout elapsed time falls outside the scope of release-and-incident temporal relationship.
C:Completed work items grouped by type and iteration reveal throughput composition rather than an undifferentiated completed-task count; it contributes to bug-versus-feature delivery mix, with environment rollout elapsed time still requiring its own control.
E:Rollback frequency counts production deployments that are reverted and indicates a release quality problem not visible in build pass rates; this option addresses reversal rate after delivery rather than addressing environment rollout elapsed time.
Question 26
Developers begin too many tasks and little work finishes; the team wants a process constraint to encourage completion before starting more. What should be introduced?
- Distinguish deployment frequency from build frequency
- Track work in progress limits
- Trend the age of blocked backlog items
- Measure pull request review wait time
Explanation
Correct Answer
B:Work-in-progress limits cap concurrent items in a workflow state, reducing context switching and highlighting constrained stages.
Incorrect Answers
A:Deployment frequency counts successful releases to the target production environment rather than CI runs or commits; that acts on production release cadence, whereas the requested outcome is limiting concurrent work.
C:Aging work-in-progress metrics expose how long incomplete items remain open or blocked, making unresolved work visible beyond raw backlog size; here limiting concurrent work is the target, not unfinished item aging.
D:Pull request review latency captures the time a change waits for reviewer attention or approval, isolating a common delivery bottleneck; although that supports approval wait time, this scenario calls for limiting concurrent work.
Question 27
A delivery team wants to spot unstable deployments that succeed technically but are immediately reversed. Which dashboard measure captures this?
- Track flaky-test frequency
- Track mean time to detect
- Use a vulnerability severity dashboard
- Track rollback count by release
Explanation
Correct Answer
D:Rollback frequency counts production deployments that are reverted and indicates a release quality problem not visible in build pass rates.
Incorrect Answers
A:Flaky-test metrics identify tests with inconsistent outcomes across comparable runs and help prioritize stabilization work; its effect is inconsistent test result frequency, not reversal rate after delivery.
B:Mean time to detect measures detection latency and indicates how effectively monitoring surfaces incidents after they begin; that changes incident detection delay without delivering reversal rate after delivery.
C:Vulnerability reporting should group detected findings by severity, affected asset, and remediation status rather than only build totals; risk-ranked outstanding findings cannot substitute for reversal rate after delivery.
Question 28
A container image includes compiler toolchains that are needed to build but not run the service, creating unnecessary size and attack surface. Which Dockerfile design helps?
- Push build images to Azure Container Registry
- Use Kubernetes startup probes for slow initialization
- Grant image pull rights to the workload identity
- Use Kubernetes secrets or external secret providers for credentials
- Build a multi-stage Docker image
- Use Kubernetes rolling updates for deployment
Explanation
Correct Answer
E:Multi-stage builds copy final outputs from a builder stage into a smaller runtime stage without shipping build-only dependencies.
Incorrect Answers
A:Azure Container Registry stores private container images and artifacts with Azure-integrated identity and access controls; it handles Azure-native private image storage but cannot by itself deliver runtime image minimization.
B:A startup probe provides an initialization grace period before other health probes begin enforcing normal thresholds; runtime image minimization remains outside the responsibility of protected slow application startup.
C:The identity used to retrieve images needs appropriate pull authorization to the registry scope before the nodes can start workloads; that acts on runtime registry pull permission, whereas the requested outcome is runtime image minimization.
D:Kubernetes Secret references or an integrated external secret provider keep credentials out of plain repository manifests and support controlled runtime delivery; decoupled container credential distribution concerns a different control point than runtime image minimization.
F:Kubernetes Deployment rolling updates replace pods incrementally according to readiness and surge/unavailable limits; although that supports orchestrator-managed gradual pod replacement, this scenario calls for runtime image minimization.
Question 29
Multiple delivery teams share dependencies and managers need a time-oriented view of work across several team backlogs without merging those backlogs. What feature is appropriate?
- Link test cases to user stories
- Use GitHub issue forms for structured intake
- Use GitHub Issues for actionable defect discussions
- Link commits to Azure Boards work items
- Use Azure Boards delivery plans
- Link bugs to test failures
Explanation
Correct Answer
E:Delivery Plans aggregates scheduled work from selected Azure Boards teams into a cross-team timeline for dependency and progress visibility.
Incorrect Answers
A:Azure Test Plans relationships between test cases and work items provide requirement-to-test coverage and execution context; the distinction is requirement-to-test evidence versus cross-team work schedule visibility.
B:Issue forms define structured fields for new reports, so maintainers receive consistent triage information from contributors; cross-team work schedule visibility cannot be delivered through standardized issue reporting.
C:GitHub Issues maintains repository-linked discussions, labels, assignees, and references to corresponding pull requests; its effect is repository-local bug intake, not cross-team work schedule visibility.
D:Referencing work-item IDs from commits and pull requests creates navigable development links in the work item and improves auditability; that changes code-to-backlog traceability without delivering cross-team work schedule visibility.
F:Creating a bug from the test result establishes a work-item link with reproduction details and test execution evidence; cross-team work schedule visibility falls outside the scope of failed-test-to-defect traceability.
Question 30
A contractor must manage boards and pipelines in one project but has no reason to administer other organizational projects. Which delegation is appropriate?
- Use project-scoped groups rather than organization-wide admins
- Restrict personal access token scope and expiration
- Authorize a service connection only for approved pipelines
- Stream Azure DevOps audit events to Azure Monitor Logs
- Protect variable groups containing secrets
Explanation
Correct Answer
A:Project-level group membership limits administrative reach compared with organization or collection-wide administrative roles.
Incorrect Answers
B:Reducing PAT scopes, allowed organizations, and lifetimes limits damage if a token is disclosed; this option addresses minimal Azure DevOps PAT authority rather than addressing scoped Azure DevOps project administration.
C:Pipeline permissions on protected service connections control which pipeline definitions may consume the connection; it handles protected connection consumer scope but cannot by itself deliver scoped Azure DevOps project administration.
D:Azure DevOps audit streaming forwards supported organization events to Azure Monitor Logs, where retention can be configured independently of the platform’s native audit history; scoped Azure DevOps project administration remains outside the responsibility of externally retained DevOps governance event history.
E:Variable-group permissions and approved pipeline access restrict exposure of protected variables to authorized consumers; that acts on pipeline-bounded shared secret access, whereas the requested outcome is scoped Azure DevOps project administration.