Microsoft AZ-400 (Designing and Implementing Microsoft DevOps Solutions) Practice Test 31

Question 300

A registry allows developers to replace a published package, undermining reproducible restores. Which governance rule should be established?

  1. Use CalVer for date-oriented platform releases
  2. Prevent republishing the same version with different bytes
  3. Use build metadata without altering SemVer precedence
  4. Increment the patch version for a compatible bug fix

Explanation

Correct Answer

B:

Immutable package versions ensure that a given package name and version cannot silently acquire different contents.

Incorrect Answers

A:

Calendar versioning encodes release time using a defined calendar scheme and suits time-driven delivery policies; it handles calendar-anchored release identity but cannot by itself deliver stable package name-version mapping.

C:

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 stable package name-version mapping.

D:

SemVer patch versions identify backward-compatible bug fixes and support predictable dependency upgrade decisions; compatible defect correction version concerns a different control point than stable package name-version mapping.

Question 301

A regulated repository wants verifiable authorship evidence for commits introduced to its protected GitHub main branch. Which rule addresses the requirement?

  1. Use path filters on build validation
  2. Restrict allowed merge types
  3. Require signed commits on a protected branch
  4. Require resolved pull request comments

Explanation

Correct Answer

C:

GitHub commit-signature protection can require verified signatures on commits entering protected branches. Protecting the target branch with signature checks prevents ordinary unsigned changes from satisfying the merge rule.

Incorrect Answers

A:

Path filters limit when a build-validation policy applies based on changed files, reducing unrelated checks; the distinction is changed-file-targeted validation versus verifiable commit provenance.

B:

Merge-type policy restricts which pull request completion methods are permitted for the target branch; verifiable commit provenance cannot be delivered through permitted integration history forms.

D:

A comment resolution policy prevents completion while unresolved review threads violate the configured requirement; that changes closed review feedback threads without delivering verifiable commit provenance.

Question 302

Network administrators need connection health and network-specific signals to investigate Azure connectivity failures. Which Azure Monitor focus should they choose?

  1. Use KQL summarize percentiles for latency
  2. Use Container insights for AKS workloads
  3. Use Azure Monitor network monitoring
  4. Use Azure VM insights for guest performance

Explanation

Correct Answer

C:

Network monitoring capabilities integrate supported connectivity, flow, and performance signals for troubleshooting network paths.

Incorrect Answers

A:

Percentile aggregation exposes tail behavior that arithmetic averages can hide, making high-latency outliers visible; this solves tail-latency distribution analysis, leaving Azure network connection observability unresolved.

B:

Container insights gathers supported Kubernetes inventory, performance, and log data to support workload and node diagnosis; this option addresses cluster and pod health visibility rather than addressing Azure network connection observability.

D:

VM insights collects supported guest performance and dependency data from configured virtual machines through monitoring agents; Azure network connection observability remains outside the responsibility of virtual machine guest-state observability.

Question 303

A game project needs to version several-gigabyte texture files while keeping ordinary Git history manageable. Which extension should be implemented?

  1. Use git-fat with an explicitly supported backend
  2. Use partial clone for large object histories
  3. Track large binaries with Git LFS
  4. Split independent services into separate repos

Explanation

Correct Answer

C:

Git Large File Storage replaces tracked large-file content with pointers in Git and stores binary objects in separate LFS storage.

Incorrect Answers

A:

git-fat tracks lightweight references in Git while synchronizing actual binary assets to an external storage backend; although that supports alternative external binary asset management, this scenario calls for separating bulky assets from Git history.

B:

Partial clone filters selected Git objects from the initial transfer and retrieves missing objects as required; separating bulky assets from Git history cannot be inferred from on-demand historical object retrieval alone.

D:

Separate repositories allow independent branch protections, permission boundaries, and delivery lifecycles for unrelated services; separating bulky assets from Git history cannot be delivered through independent service governance.

Question 304

An auditor asks which functional requirements are covered by each manually executed test in an Azure DevOps project. Which traceability link should be maintained?

  1. Use GitHub issue forms for structured intake
  2. Link bugs to test failures
  3. Short-lived branches merged to main by pull request
  4. Link test cases to user stories

Explanation

Correct Answer

D:

Azure Test Plans relationships between test cases and work items provide requirement-to-test coverage and execution context.

Incorrect Answers

A:

Issue forms define structured fields for new reports, so maintainers receive consistent triage information from contributors; requirement-to-test evidence falls outside the scope of standardized issue reporting.

B:

Creating a bug from the test result establishes a work-item link with reproduction details and test execution evidence; it contributes to failed-test-to-defect traceability, with requirement-to-test evidence still requiring its own control.

C:

GitHub Flow uses a stable main branch, short-lived topic branches, pull requests, and frequent deployment of reviewed changes; this solves lightweight branch-to-main review, leaving requirement-to-test evidence unresolved.

Question 305

API latency rose after a new database client release and developers need to determine whether downstream SQL calls are slower. Which application signal should be inspected?

  1. Use correlation IDs across services
  2. Instrument the application with Application Insights
  3. Track dependency call duration
  4. Inspect end-to-end transaction traces
  5. Use live metrics for immediate release observation

Explanation

Correct Answer

C:

Dependency telemetry records outbound calls, timing, and success state, helping isolate latency outside the request handler itself.

Incorrect Answers

A:

Propagating trace context or correlation identifiers associates related telemetry across service boundaries; shared operation identity concerns a different control point than downstream dependency timing.

B:

Application Insights collects application requests, failures, dependencies, traces, and usage signals through supported instrumentation; here downstream dependency timing is the target, not code-level service performance observation.

D:

Distributed tracing correlates spans across participating services so latency and errors can be localized along a single transaction path; downstream dependency timing cannot be inferred from multi-service request causality alone.

E:

Live Metrics supports low-latency observation of selected application signals during active incidents or deployments; the distinction is immediate application health feedback versus downstream dependency timing.

Question 306

An enterprise application must reject packages with incompatible license terms before they enter a commercial distribution. Which scanning category addresses this?

  1. Connect Azure DevOps to Microsoft Defender for Cloud DevOps security
  2. Scan open-source license obligations
  3. Enable GitHub Advanced Security for Azure DevOps
  4. Connect GitHub Advanced Security findings to Defender for Cloud
  5. Run CodeQL analysis inside a controlled container

Explanation

Correct Answer

B:

Software composition analysis with license rules identifies component license metadata and can enforce organizational usage policies.

Incorrect Answers

A:

Connecting supported Azure DevOps organizations to Defender for Cloud DevOps security brings repository posture and findings into a code-to-cloud governance view; that changes cloud-correlated Azure Repos security posture without delivering dependency legal compliance.

C:

GitHub Advanced Security for Azure DevOps brings supported code, dependency, and secret scanning capabilities to Azure DevOps repositories; dependency legal compliance falls outside the scope of advanced scanning on Azure Repos.

D:

Supported integration of GitHub Advanced Security with Defender for Cloud can bring repository security signals into cloud-focused posture views; it contributes to unified repository vulnerability posture, with dependency legal compliance still requiring its own control.

E:

Running the supported CodeQL analysis workflow in a managed container isolates scanner tooling and makes its runtime dependencies repeatable across builds; this solves isolated static-analysis execution environment, leaving dependency legal compliance unresolved.

Question 307

A shared YAML deployment template runs for test and prod; only resource names and approved settings differ. How should the template be customized?

  1. Use variable templates for shared nonsecret settings
  2. Version shared templates by repository ref
  3. Use extends templates to enforce pipeline structure
  4. Use a required template environment check
  5. Pass environment-specific data through parameters

Explanation

Correct Answer

E:

Explicit parameters separate environment configuration from the common deployment logic, avoiding copied YAML definitions.

Incorrect Answers

A:

Variable templates keep common nonsecret values in checked-in YAML for consistent versioned inclusion; controlled variation of a shared workflow remains outside the responsibility of source-controlled configuration reuse.

B:

Pinning a template repository resource to a reviewed tag or commit controls when consuming pipelines receive template revisions; that acts on predictable shared-template version, whereas the requested outcome is controlled variation of a shared workflow.

C:

Extends templates define the outer pipeline structure and can constrain accepted parameters so projects cannot bypass standardized stages casually; governing the entire pipeline scaffold concerns a different control point than controlled variation of a shared workflow.

D:

The required template check evaluates whether a pipeline follows an approved extending template before a protected resource is used; here controlled variation of a shared workflow is the target, not enforced shared template adoption.

Question 308

Automated releases must add package versions to an internal feed but are not supposed to change feed-wide administrative settings. Which role separation helps?

  1. Grant feed Publisher to a dedicated release pipeline
  2. Grant feed Reader to download without publishing
  3. Pin a dependency to an approved internal version
  4. Promote tested packages to a release view

Explanation

Correct Answer

A:

A publishing role permits package additions without granting all owner-level feed configuration capabilities. Publish capability is narrower than managing feed security and settings; avoid assigning Owner for routine uploads.

Incorrect Answers

B:

Reader-level Azure Artifacts permissions allow package consumption while reserving publication and promotion for higher-privileged roles; its effect is download-only package access, not least-privilege automated publication.

C:

Exact dependency versions and lockfiles help consumers restore a reviewed artifact rather than whatever is newest in a range; that changes approved dependency reproducibility without delivering least-privilege automated publication.

D:

Azure Artifacts views such as release-oriented views expose selected package versions as a curated subset of a feed; vetted package visibility boundary cannot substitute for least-privilege automated publication.

Question 309

Consumers need cryptographic assurance that a version tag was endorsed by a trusted release key. Which operation helps?

  1. Control branch creation separately from contributions
  2. Protect default branch from deletion
  3. Use signed Git tags
  4. Grant repository read access without contributor rights

Explanation

Correct Answer

C:

Signed tags bind a cryptographic signature to an annotated tag object, allowing verification against the trusted signing key.

Incorrect Answers

A:

Azure Repos separates creating branches from contributing to branches, allowing more targeted governance of branch namespaces; this option addresses branch creation authority rather than addressing authenticated release label.

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 authenticated release label.

D:

Repository read permission provides source visibility while Contribute remains ungranted or denied as appropriate; that acts on nonmutating source review, whereas the requested outcome is authenticated release label.

Question 310

A manager needs a persistent dashboard pie chart of bugs grouped by priority, with counts recalculated as work items change. Which dashboard source is suitable?

  1. Correlate incident counts with releases
  2. Analyze backlog throughput by work item type
  3. Use deployment duration trends
  4. Use a query-based Azure Boards chart
  5. Use a vulnerability severity dashboard

Explanation

Correct Answer

D:

Charts built from supported work item queries visualize live result groupings and can be added to Azure DevOps dashboards.

Incorrect Answers

A:

Time-aligning deployment events with incident counts reveals associations worth investigating without asserting deployment caused every incident; dynamic priority distribution cannot be inferred from release-and-incident temporal relationship alone.

B:

Completed work items grouped by type and iteration reveal throughput composition rather than an undifferentiated completed-task count; the distinction is bug-versus-feature delivery mix versus dynamic priority distribution.

C:

Deployment duration by stage and environment identifies slower pipeline activities and supports targeted release-process optimization; dynamic priority distribution cannot be delivered through environment rollout elapsed time.

E:

Vulnerability reporting should group detected findings by severity, affected asset, and remediation status rather than only build totals; that changes risk-ranked outstanding findings without delivering dynamic priority distribution.

Designing and Implementing Microsoft DevOps Solutions (AZ-400) Practice Tests