Question 460
A team wants changelog entries grouped by enhancement and bug fix without hand-copying commit histories. What should drive the release-note automation?
- Use conventional commits for change classification
- Generate release notes from labeled pull requests
- Use an Azure DevOps project wiki
- Document decisions in architecture decision records
Explanation
Correct Answer
B:Structured pull request labels and merged change metadata can be transformed into categorized release notes by a release workflow.
Incorrect Answers
A:Conventional Commits provides structured prefixes and breaking-change markers that tools can interpret for changelog and version generation; it handles parseable semantic commit history but cannot by itself deliver categorized change summary automation.
C:Azure DevOps wikis give teams Markdown-based project documentation with collaborative editing and navigation inside the project; that acts on native project knowledge repository, whereas the requested outcome is categorized change summary automation.
D:Architecture decision records preserve context, considered alternatives, the chosen decision, and consequences in versioned documentation; recorded architectural tradeoffs concerns a different control point than categorized change summary automation.
Question 461
An external API integration is occasionally unstable; operators need to disable the integration immediately without redeploying. Which operational feature fits?
- Use canary deployment for small initial exposure
- Use A/B testing for behavioral comparison
- Use a kill switch for risky functionality
- Use rolling deployment to update instances incrementally
Explanation
Correct Answer
C:A remotely controlled feature flag can disable the affected path quickly while leaving the running binary unchanged.
Incorrect Answers
A:Canary deployment exposes a new version to a limited traffic subset before broadening it based on monitored results; the distinction is low-percentage release exposure versus instant reversible feature disablement.
B:A/B testing assigns experiences to comparable cohorts and measures defined outcome metrics rather than focusing solely on release safety; instant reversible feature disablement cannot be delivered through controlled user-experience experiment.
D:Rolling deployment updates bounded sets of instances and keeps unaffected replicas serving traffic during the transition; that changes gradual replica replacement without delivering instant reversible feature disablement.
Question 462
An Azure Repos Git pipeline has a YAML pr section but no validation runs when pull requests target main. What should govern PR builds?
- Use Azure Repos build validation instead of YAML PR trigger
- Filter GitHub workflow events by branch and path
- Use tags-based release triggers
- Use a YAML trigger exclude for maintenance branches
Explanation
Correct Answer
A: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.
Incorrect Answers
B:GitHub Actions event configuration can combine target branch and path filters to limit runs to relevant proposed changes; this option addresses combined PR target and file selection rather than addressing Azure Repos target-branch PR validation.
C:Tag filters on push events allow packaging workflows to run for matching version references while ignoring ordinary branch changes; it handles release-reference-driven publication but cannot by itself deliver Azure Repos target-branch PR validation.
D:Trigger exclude patterns prevent selected branch namespaces from queuing otherwise matching pipeline runs; Azure Repos target-branch PR validation remains outside the responsibility of branch-pattern exclusion from CI.
Question 463
External contributors can submit code that runs tests, and the organization must protect production networks and secrets from those builds. Which isolation practice is strongest?
- Use a dedicated pool for untrusted pull requests
- Keep deployment credentials outside agent images
- Use an agent pool for shared self-hosted capacity
- Use a self-hosted agent for a private network target
Explanation
Correct Answer
A:Segregating untrusted workloads onto tightly scoped ephemeral workers limits credential and network exposure to attacker-controlled build scripts.
Incorrect Answers
B:Inject credentials at job runtime with short-lived identity or protected secrets rather than baking them into reusable machine images; hostile-source execution isolation cannot be inferred from elimination of image-embedded credentials alone.
C:Agent pools group self-hosted workers with controlled project permissions, enabling shared execution capacity; the distinction is centralized managed worker fleet versus hostile-source execution isolation.
D:A self-hosted agent placed on a reachable network can execute deployment steps against private resources using outbound service connectivity; hostile-source execution isolation cannot be delivered through private network execution reachability.
Question 464
A release team must promote the identical tested build to production and preserve the exact container image identity in a release manifest even if tags later move. Which TWO practices address these separate requirements? Choose TWO.
- Use a unique build ID for pipeline artifacts
- Increment the major version for a breaking API change
- Build once and promote the same artifact across environments
- Record an OCI digest in the release manifest
- Commit package lockfiles for reproducible dependency resolution
Explanation
Correct Answers
C:Promoting an immutable built artifact keeps the tested bits identical across stages instead of recompiling from mutable inputs.
D:Storing the image content digest with release metadata preserves the exact artifact identity for later provenance verification despite tag movement; recording this digest preserves audit identity, while promoting the same built artifact avoids discrepancies from rebuilding it.
Incorrect Answers
A:A pipeline run or build ID supplies a unique execution identity that can be combined with artifact names and retention rules; environment-independent deployable identity falls outside the scope of per-run artifact disambiguation.
B:Under SemVer, a major increment signals incompatible public API changes so consumers can avoid accidental breaking upgrades; it contributes to incompatible interface version signal, with environment-independent deployable identity still requiring its own control.
E:A committed lockfile records resolved dependency versions and often integrity data, reducing drift across build environments; it handles deterministic transitive dependency graph but cannot by itself deliver environment-independent deployable identity.
Question 465
Full integration tests make small pull requests wait three hours, but production risk still requires broad testing regularly. Which test scheduling policy balances speed and coverage?
- Use selective test execution for monorepo changes
- Move repeated setup into a prebuilt image
- Reduce redundant source checkout
- Use retention policies to constrain storage cost
- Create separate fast PR and full nightly verification
Explanation
Correct Answer
E:A fast deterministic PR gate plus broader scheduled or prerelease suites preserves frequent feedback without abandoning comprehensive validation.
Incorrect Answers
A:Path-aware test selection can run affected verification suites while retaining full broader checks at appropriate release gates; change-impact-based verification concerns a different control point than tiered verification latency.
B:A maintained prebuilt worker or container image provides standard toolchains without repeating their installation in each job; here tiered verification latency is the target, not preprovisioned build dependencies.
C:Skipping unnecessary checkout saves network transfer and startup time when source files are not consumed; although that supports elimination of unused Git fetch, this scenario calls for tiered verification latency.
D:Targeted run and artifact retention policies delete disposable build data while preserving defined compliance evidence; tiered verification latency cannot be inferred from bounded nonrelease artifact storage alone.
Question 466
A pull request proposes changing networking resources, and the reviewer must see predicted creates, updates, and removals before approval. Which Azure deployment capability helps?
- Use explicit dependencies for resource creation order
- Use deployment scopes for governance
- Use what-if before infrastructure deployment
- Use Bicep parameters for environment differences
Explanation
Correct Answer
C:ARM what-if previews intended resource-state differences from a template without applying those changes. Capture the preview during PR validation so networking reviewers can inspect the intended delta before merge.
Incorrect Answers
A:ARM/Bicep resource references and explicit dependencies establish provisioning order where one resource relies on another; that changes resource-graph provisioning dependencies without delivering preapply infrastructure delta inspection.
B:Bicep and ARM deployments support appropriate target scopes, with authorization and resources matched to management or subscription hierarchy; nonresource-group IaC target cannot substitute for preapply infrastructure delta inspection.
D:Template parameters keep environment-specific values separate from common resource declarations and support controlled reuse; it contributes to externalized IaC environment settings, with preapply infrastructure delta inspection still requiring its own control.
Question 467
A security team requires every pipeline to follow a centrally owned base template with fixed checks rather than freely inserting jobs. What YAML model helps?
- Use template insertion for optional steps
- Create a jobs template for common verification jobs
- Use extends templates to enforce pipeline structure
- Version shared templates by repository ref
Explanation
Correct Answer
C:Extends templates define the outer pipeline structure and can constrain accepted parameters so projects cannot bypass standardized stages casually.
Incorrect Answers
A:Template insertion can splice parameterized steps into the compiled pipeline while preserving the template's ordered structure; governing the entire pipeline scaffold remains outside the responsibility of optional compile-time step expansion.
B:A jobs template encapsulates job definitions so each caller obtains the same validated worker and task structure; that acts on reusable complete job, whereas the requested outcome is governing the entire pipeline scaffold.
D:Pinning a template repository resource to a reviewed tag or commit controls when consuming pipelines receive template revisions; here governing the entire pipeline scaffold is the target, not predictable shared-template version.
Question 468
A package build might contain plaintext tokens that were generated during compilation; the release should stop before artifacts leave the organization. Which gate is appropriate?
- Use dependency review before merging
- Require secret scan checks before publishing
- Enable secret scanning in GitHub Advanced Security
- Enable GitHub Advanced Security for Azure DevOps
Explanation
Correct Answer
B:Secret detection applied to source and built artifacts can block distribution when sensitive credential patterns are found.
Incorrect Answers
A:Dependency review examines introduced or changed dependencies in a pull request and can flag known risks before merge; prepublication credential leakage gate cannot be delivered through package risk introduced by a PR.
C:Secret scanning identifies supported secret patterns and can alert on exposed credentials in repository content; that changes credential pattern detection in source without delivering prepublication credential leakage gate.
D:GitHub Advanced Security for Azure DevOps brings supported code, dependency, and secret scanning capabilities to Azure DevOps repositories; advanced scanning on Azure Repos cannot substitute for prepublication credential leakage gate.
Question 469
After an unexpected change to GitHub repository access, security needs a dated record of who changed organization-level access policies. Which source should investigators inspect?
- Grant Contribute only to selected Azure Repos repositories
- Protect default branch from deletion
- Use tag prefixes to distinguish versions
- Review GitHub organization audit log for repository permission changes
Explanation
Correct Answer
D:Organization audit logs record supported administrative and repository-related actions with actor and timestamp details useful for reconstructing access changes.
Incorrect Answers
A:Apply repository-specific permissions and group membership instead of broad project-level write entitlements; this option addresses least-privilege repo write scope rather than addressing organization access-change attribution.
B:Branch protection or restricted delete permissions prevent unauthorized removal of important branch references; it handles safeguarding main branch existence but cannot by itself deliver organization access-change attribution.
C:Component-specific tag prefixes make release identities unambiguous without creating separate histories for each package; organization access-change attribution remains outside the responsibility of component-specific tag namespaces.
Question 470
A new feature flag launches to ten percent of users and product owners need counts of actual feature usage rather than page loads. What should the app emit?
- Use custom events for feature adoption
- Attach deployment version to application telemetry
- Instrument the application with Application Insights
- Use live metrics for immediate release observation
Explanation
Correct Answer
A:Custom events can record meaningful application actions with properties needed to measure feature behavior by rollout cohort.
Incorrect Answers
B:Recording application version or release identifiers with telemetry enables per-version filtering and regression comparison; the distinction is version-specific canary analysis versus business-specific application usage measurement.
C:Application Insights collects application requests, failures, dependencies, traces, and usage signals through supported instrumentation; business-specific application usage measurement cannot be delivered through code-level service performance observation.
D:Live Metrics supports low-latency observation of selected application signals during active incidents or deployments; its effect is immediate application health feedback, not business-specific application usage measurement.