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.
Question 61
Deployment takes minutes but the whole regression suite takes hours; operators need an immediate post-deployment signal for basic availability. Which test set should run?
- Keep a smaller production smoke-test suite
- Use contract tests between producer and consumer
- Run stress tests beyond expected capacity
- Use a test matrix for supported runtimes
Explanation
Correct Answer
A:Smoke tests check essential application paths after rollout and provide a quick signal before broader validation completes.
Incorrect Answers
B:Contract tests verify that producers and consumers satisfy agreed interface expectations before integration breaks at runtime; basic release health verification cannot be delivered through cross-team API compatibility.
C:Stress tests deliberately exceed normal capacity to identify breaking points, failure modes, and recovery behavior; its effect is overload failure characterization, not basic release health verification.
D:Matrix execution expands a job over selected versions and operating systems, testing the product across supported combinations; that changes cross-platform runtime coverage without delivering basic release health verification.
Question 62
Developers publish frequent internal libraries but production consumers must see only vetted versions without duplicating package contents. What should be used?
- Use project-scoped feeds for narrow ownership
- Separate feed publication from feed promotion
- Use an organization-scoped feed for shared components
- Use GitHub Packages with repository permissions
- Promote tested packages to a release view
- Use a package proxy strategy for build continuity
Explanation
Correct Answer
E:Azure Artifacts views such as release-oriented views expose selected package versions as a curated subset of a feed.
Incorrect Answers
A:Project-scoped feeds align package access with project boundaries and can authorize external projects explicitly; this solves project-bounded package administration, leaving vetted package visibility boundary unresolved.
B:Publishing to the feed and independently promoting selected versions to a release view separates creation from trust decisions; this option addresses package release authorization step rather than addressing vetted package visibility boundary.
C:Organization-scoped Azure Artifacts feeds support cross-project package reuse through common feed permissions and endpoints; it handles organization-wide dependency catalog but cannot by itself deliver vetted package visibility boundary.
D:GitHub Packages supports publishing and retrieving supported package formats while tying packages to GitHub access models where applicable; vetted package visibility boundary remains outside the responsibility of GitHub-native package hosting.
F:Caching packages through configured upstream sources can preserve availability of previously saved versions when their original source is disrupted; resilience to remote registry outages concerns a different control point than vetted package visibility boundary.
Question 63
A new database migration has changed production data irreversibly; redeploying the previous application version would no longer work. Which incident strategy should be prepared?
- Use health-based automatic rollback
- Plan a forward fix when rollback is unsafe
- Use idempotent deployment scripts
- Drain connections before removing old replicas
Explanation
Correct Answer
B:Forward-compatible remediation or compensating migrations may be necessary when application rollback cannot safely reverse a data change.
Incorrect Answers
A:Rollback automation tied to defined health signals can revert traffic or restore a prior version before failure spreads broadly; although that supports metric-triggered rapid restoration, this scenario calls for recovery after irreversible schema transition.
C:Idempotent operations reach the desired end state even when repeated, making safe retries possible after partial execution; the distinction is repeatable partial deployment recovery versus recovery after irreversible schema transition.
D:Connection draining and graceful termination allow in-flight requests to complete before a retiring instance stops; recovery after irreversible schema transition cannot be delivered through preserving active requests during replacement.
Question 64
Two runs execute on the same branch and overwrite a file with the same published name; which versioning key avoids collision?
- Use a unique build ID for pipeline artifacts
- Prevent republishing the same version with different bytes
- Include commit SHA in artifact provenance
- Generate a software bill of materials with releases
Explanation
Correct Answer
A:A pipeline run or build ID supplies a unique execution identity that can be combined with artifact names and retention rules.
Incorrect Answers
B:Immutable package versions ensure that a given package name and version cannot silently acquire different contents; it contributes to stable package name-version mapping, with per-run artifact disambiguation still requiring its own control.
C:A commit SHA uniquely identifies the source snapshot used by a build and supports traceability from deployment to repository state; this solves source snapshot identity for each build, leaving per-run artifact disambiguation unresolved.
D:A software bill of materials records software components and versions used in a build, supporting later dependency risk analysis; this option addresses shipped dependency inventory rather than addressing per-run artifact disambiguation.
Question 65
A team uses a code analyzer and cannot ship changes with blocker-level findings, even if unit tests pass. Which gate should be installed?
- Publish test results in Azure Pipelines
- Keep test reports when a later stage fails
- Gate deployment on artifact signature verification
- Require static-analysis pass before releasing
Explanation
Correct Answer
D:A quality gate consumes analysis findings and prevents promotion when defined severity or policy conditions are violated.
Incorrect Answers
A:Publishing supported test result files associates structured test outcomes with the pipeline run for reporting and diagnostics; first-class automated test reporting concerns a different control point than static quality threshold enforcement.
B:Publish test and coverage artifacts during the verification stage so later stage failures do not erase already collected evidence; here static quality threshold enforcement is the target, not independent validation evidence retention.
C:Signature verification confirms that the artifact was signed by an expected identity and has not been modified since signing; although that supports trusted binary provenance enforcement, this scenario calls for static quality threshold enforcement.
Question 66
A feature should remain disabled for most users but be enabled for a deterministic pilot share without changing deployment artifacts. Which feature-management behavior fits?
- Use A/B testing for behavioral comparison
- Use percentage-based feature targeting
- Use feature flags to decouple release and launch
- Use rolling deployment to update instances incrementally
- Use progressive exposure with automatic health gates
Explanation
Correct Answer
B:Percentage targeting can expose a flag to a configured user share using consistent targeting rules where supported.
Incorrect Answers
A:A/B testing assigns experiences to comparable cohorts and measures defined outcome metrics rather than focusing solely on release safety; that changes controlled user-experience experiment without delivering stable fractional feature audience.
C:Feature flags control application behavior at runtime without requiring a second code deployment for every exposure decision; stable fractional feature audience falls outside the scope of independent functionality activation.
D:Rolling deployment updates bounded sets of instances and keeps unaffected replicas serving traffic during the transition; it contributes to gradual replica replacement, with stable fractional feature audience still requiring its own control.
E:Progressive delivery couples staged exposure with monitored health metrics so advancement can stop or reverse on regression; this solves telemetry-gated exposure expansion, leaving stable fractional feature audience unresolved.
Question 67
A package candidate must be tested by early adopters without appearing to be a stable final release. How should SemVer distinguish it?
- Commit package lockfiles for reproducible dependency resolution
- Use build metadata without altering SemVer precedence
- Use a prerelease identifier for candidate packages
- Include commit SHA in artifact provenance
Explanation
Correct Answer
C:Hyphenated prerelease identifiers mark versions such as release candidates and sort below their corresponding normal releases.
Incorrect Answers
A:A committed lockfile records resolved dependency versions and often integrity data, reducing drift across build environments; explicitly nonstable package candidate remains outside the responsibility of deterministic transitive dependency graph.
B:SemVer build metadata follows a plus sign and communicates extra information without affecting version precedence comparison; that acts on informational build identity suffix, whereas the requested outcome is explicitly nonstable package candidate.
D:A commit SHA uniquely identifies the source snapshot used by a build and supports traceability from deployment to repository state; here explicitly nonstable package candidate is the target, not source snapshot identity for each build.
Question 68
An Azure Repos main branch may accept a pull request only after two reviewers approve and its premerge CI passes. Which TWO policies enforce those independent requirements? Choose TWO.
- Require minimum approving reviewers in Azure Repos
- Configure required status checks from an external scanner
- Require resolved pull request comments
- Restrict allowed merge types
- Require build validation on the target branch
Explanation
Correct Answers
A:The minimum reviewer policy sets the number of eligible approvals required to complete pull requests into a protected branch.
E:A build validation policy queues or requires a qualifying PR validation run and gates completion on its result; the build check supplies only the CI requirement; the independent minimum-reviewer policy is also necessary.
Incorrect Answers
B:A required status policy evaluates externally posted pull request status contexts before allowing completion; its effect is mandatory external PR assessment, not mandatory reviewer quorum.
C:A comment resolution policy prevents completion while unresolved review threads violate the configured requirement; that changes closed review feedback threads without delivering mandatory reviewer quorum.
D:Merge-type policy restricts which pull request completion methods are permitted for the target branch; permitted integration history forms cannot substitute for mandatory reviewer quorum.
Question 69
Operations teams change server setup scripts manually, making peer review and rollback difficult. What process should become standard?
- Use configuration-as-code in source control
- Use configuration validation in PR checks
- Use desired state configuration for server settings
- Use policy-as-code in deployment pipelines
- Maintain legacy Azure Automation State Configuration while planning migration
Explanation
Correct Answer
A:Storing configuration definitions in Git enables history, review, and automated validation like application code.
Incorrect Answers
B:Template linting and validation with representative parameter inputs detect missing settings before a promotion run; it handles configuration input completeness but cannot by itself deliver auditable machine configuration changes.
C:Desired State Configuration describes target machine settings so configuration engines can detect or remediate drift; auditable machine configuration changes remains outside the responsibility of standardized operating-system state.
D:Policy-as-code captures machine-readable guardrails in version control and automates validation during delivery; that acts on versioned infrastructure policy definitions, whereas the requested outcome is auditable machine configuration changes.
E:Azure Automation State Configuration manages existing DSC node assignments; Microsoft has announced retirement in September 2027 and recommends transition to Azure Machine Configuration; legacy DSC node assignment with migration concerns a different control point than auditable machine configuration changes.
Question 70
A team shares templates from a central repository but breaking template edits must not affect every consumer unexpectedly. What reference strategy is safest?
- Version shared templates by repository ref
- Use extends templates to enforce pipeline structure
- Use protected variable groups for secrets
- Avoid expanding secrets into compile-time templates
Explanation
Correct Answer
A:Pinning a template repository resource to a reviewed tag or commit controls when consuming pipelines receive template revisions.
Incorrect Answers
B:Extends templates define the outer pipeline structure and can constrain accepted parameters so projects cannot bypass standardized stages casually; the distinction is governing the entire pipeline scaffold versus predictable shared-template version.
C:Variable groups can be authorized for specific pipelines and supplemented with approvals or checks where supported; predictable shared-template version cannot be delivered through authorized shared-secret consumption.
D:Runtime secret variables or Key Vault retrieval keep sensitive values out of source-controlled template expansion and minimize accidental disclosure; its effect is separating secrets from YAML compilation, not predictable shared-template version.