Question 180
A platform template must accept a list of service build jobs and expand them before any agent begins. Which mechanism supports this strongly typed structure?
- Use runtime expressions for dynamic job conditions
- Use parameters for typed pipeline input
- Use template parameters rather than variable substitution for a job list
- Use runtime macro syntax for a task input
- Use template expressions for parameter-driven structure
Explanation
Correct Answer
C:Template parameters can pass job or step lists into reusable YAML during plan compilation; runtime strings cannot safely synthesize arbitrary job graphs.
Incorrect Answers
A:Runtime expressions evaluate runtime variable context and can support dynamic values or conditions unavailable during template compilation; compile-time list injection cannot be delivered through execution-time expression evaluation.
B:YAML runtime parameters support explicit types and are resolved at template parsing, enabling safer structural customization than string variables; its effect is typed reusable pipeline configuration, not compile-time list injection.
D:Azure Pipelines macro syntax such as $(name) is expanded at runtime before tasks execute and can reflect prior variable updates; task-time variable value expansion cannot substitute for compile-time list injection.
E:Compile-time template expressions evaluate parameters and statically available variables while expanding reusable YAML structure; compile-time list injection falls outside the scope of compile-time job graph generation.
Question 181
A CI workflow requires a proprietary hardware dongle on an internal Windows server. Which GitHub Actions runner type fits?
- Use composite actions for repeated step logic
- Cache dependencies in GitHub Actions
- Use a self-hosted GitHub runner for specialist hardware
- Use a GitHub Actions matrix for platform testing
Explanation
Correct Answer
C:Self-hosted runners execute jobs on administrator-managed machines where specialized devices and licensed tools can be installed.
Incorrect Answers
A:Composite actions bundle related steps into a callable action usable within an existing job; this option addresses portable in-job step assembly rather than addressing workflow access to custom hardware.
B:Dependency caching saves reusable package-download data keyed by dependency state while leaving published build artifacts separately versioned; it handles reuse of expensive dependency downloads but cannot by itself deliver workflow access to custom hardware.
D:A matrix strategy expands one job definition over selected platform and version dimensions without duplicating steps; that acts on combinatorial GitHub runtime testing, whereas the requested outcome is workflow access to custom hardware.
Question 182
A team wants a dependency's source included in its main repository and available without an extra submodule checkout. Which approach fits?
- Use partial clone for large object histories
- Use Git subtree for vendor source snapshots
- Share code through versioned packages
- Split independent services into separate repos
Explanation
Correct Answer
B:A subtree imports and maintains another codebase within a subdirectory, making the source present in normal clones.
Incorrect Answers
A:Partial clone filters selected Git objects from the initial transfer and retrieves missing objects as required; embedded external source tree cannot be inferred from on-demand historical object retrieval alone.
C:Publishing a versioned package gives each consumer an explicit dependency contract without forcing shared repository history; embedded external source tree cannot be delivered through decoupled code-sharing release cadence.
D:Separate repositories allow independent branch protections, permission boundaries, and delivery lifecycles for unrelated services; its effect is independent service governance, not embedded external source tree.
Question 183
Each deployment's release document must identify its immutable artifact, source revision, and production environment. Which metadata should the pipeline record?
- Use an Azure DevOps project wiki
- Generate release notes from labeled pull requests
- Use conventional commits for change classification
- Publish build provenance and release version
Explanation
Correct Answer
D:Release metadata connecting artifact digest, build ID, commit SHA, and environment supports reproducibility and operational audit trails.
Incorrect Answers
A:Azure DevOps wikis give teams Markdown-based project documentation with collaborative editing and navigation inside the project; it contributes to native project knowledge repository, with deployable artifact origin and destination still requiring its own control.
B:Structured pull request labels and merged change metadata can be transformed into categorized release notes by a release workflow; this solves categorized change summary automation, leaving deployable artifact origin and destination unresolved.
C:Conventional Commits provides structured prefixes and breaking-change markers that tools can interpret for changelog and version generation; this option addresses parseable semantic commit history rather than addressing deployable artifact origin and destination.
Question 184
A regulated service must prove that each published release is traceable to reviewed changes rather than only to developer claims. Which records should be joined?
- Use GitHub issue forms for structured intake
- Use Azure Boards queries with linked work items
- Use GitHub Projects custom fields and workflows
- Use GitHub Issues for actionable defect discussions
- Reference pull requests in release notes
Explanation
Correct Answer
E:Release records linked to merged pull requests and associated commits show the approved changes represented by a published build.
Incorrect Answers
A:Issue forms define structured fields for new reports, so maintainers receive consistent triage information from contributors; here release-to-change evidence is the target, not standardized issue reporting.
B:Work item link queries can evaluate relationships between bugs, stories, and other Azure Boards items rather than filtering only individual fields; although that supports related-work-item reporting, this scenario calls for release-to-change evidence.
C:GitHub Projects supports custom fields, multiple table/board views, and automation tied to repository issues and pull requests; release-to-change evidence cannot be inferred from configurable GitHub work visualization alone.
D:GitHub Issues maintains repository-linked discussions, labels, assignees, and references to corresponding pull requests; the distinction is repository-local bug intake versus release-to-change evidence.
Question 185
An automation CLI accepts a password as a command argument, and job logs reveal the complete invocation. Which redesign reduces leakage?
- Use Key Vault certificates for managed certificate lifecycle
- Rotate a compromised secret at the source
- Use GitHub environment secrets for production
- Avoid echoing command-line credentials
Explanation
Correct Answer
D:Supply credentials through protected inputs or supported environment mechanisms rather than exposing them in printed arguments.
Incorrect Answers
A:Key Vault certificate objects manage certificate lifecycle and associated keys or secret representations under configured access policy; managed application certificate storage cannot substitute for nonlogged secret delivery to tools.
B:Revoking and replacing the disclosed credential removes its future utility even if historical exposure cannot be undone; nonlogged secret delivery to tools falls outside the scope of containment after secret disclosure.
C:Environment-scoped secrets integrate with deployment environment protection and narrow credential exposure to intended jobs; it contributes to deployment-environment secret boundary, with nonlogged secret delivery to tools still requiring its own control.
Question 186
A reusable YAML template needs a Boolean toggle and an object list, not merely strings interpreted by scripts. Which input type is most appropriate?
- Use parameters for typed pipeline input
- Use failed() to capture error diagnostics
- Use template parameters rather than variable substitution for a job list
- Use always() for essential cleanup
Explanation
Correct Answer
A:YAML runtime parameters support explicit types and are resolved at template parsing, enabling safer structural customization than string variables.
Incorrect Answers
B:failed() gates the diagnostic step on a failure state so collection is targeted at broken runs; failure-specific evidence collection concerns a different control point than typed reusable pipeline configuration.
C:Template parameters can pass job or step lists into reusable YAML during plan compilation; runtime strings cannot safely synthesize arbitrary job graphs; here typed reusable pipeline configuration is the target, not compile-time list injection.
D:always() allows a cleanup step to execute despite prior failure or cancellation, helping preserve diagnostics and release resources; although that supports unconditional finalization despite failures, this scenario calls for typed reusable pipeline configuration.
Question 187
A retired pipeline left an Entra service principal and subscription assignment active, even though no workload uses them. Which security action reduces exposure?
- Separate production and development deployment identities
- Scope service principal RBAC at the resource group
- Use GitHub Actions OIDC federation to Azure
- Assign only data-plane access for Key Vault secret retrieval
- Use least-privilege role assignment instead of Owner
- Disable stale automation identities
Explanation
Correct Answer
F:Removing unused role assignments and disabling or deleting obsolete workload identities closes abandoned access paths.
Incorrect Answers
A:Distinct workload identities and scoped RBAC separate lower-trust development automation from production deployment authority; its effect is environment identity isolation, not elimination of dormant deployment authority.
B:Azure RBAC assigned to the deployment identity at the target resource group limits actions to that scope and inherited children; that changes resource-group-bounded deployment privilege without delivering elimination of dormant deployment authority.
C:GitHub OIDC tokens can be trusted through a federated credential on an Entra application, enabling short-lived Azure tokens; short-lived GitHub cloud authentication cannot substitute for elimination of dormant deployment authority.
D:Key Vault data-plane roles or access policies grant secret retrieval without general resource management authority; elimination of dormant deployment authority falls outside the scope of secret-read without infrastructure administration.
E:Contributor can manage most resources without Azure role-assignment powers that broader access-administration roles may grant; it contributes to deployment without RBAC delegation, with elimination of dormant deployment authority still requiring its own control.
Question 188
A distributed team needs a maintainable sequence diagram embedded in its repository documentation without committing a rendered image per change. What notation is appropriate?
- Use Mermaid diagrams in Markdown
- Use Markdown links to maintain navigation
- Use an Azure DevOps project wiki
- Use conventional commits for change classification
- Document decisions in architecture decision records
Explanation
Correct Answer
A:Mermaid expresses supported diagrams as text in Markdown-friendly contexts, allowing diagram revisions through ordinary code review.
Incorrect Answers
B:Relative Markdown links keep repository documentation navigable and generally survive repository moves better than absolute site URLs; text-defined sequence visualization remains outside the responsibility of portable internal document navigation.
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 text-defined sequence visualization.
D:Conventional Commits provides structured prefixes and breaking-change markers that tools can interpret for changelog and version generation; parseable semantic commit history concerns a different control point than text-defined sequence visualization.
E:Architecture decision records preserve context, considered alternatives, the chosen decision, and consequences in versioned documentation; here text-defined sequence visualization is the target, not recorded architectural tradeoffs.
Question 189
A pipeline defines twenty independent jobs but only two ever run simultaneously despite plenty of machines. What nonhardware constraint must be checked?
- Use container jobs to normalize build tooling
- Use a self-hosted agent for a private network target
- Configure private DNS for restricted deployment endpoints
- Size parallel jobs to actual entitlements
- Use agent demands and capabilities
Explanation
Correct Answer
D:Azure DevOps parallel-job capacity or entitlements can limit concurrency independently of the physical number of agents.
Incorrect Answers
A:Container jobs run task steps inside a specified container image, making tool versions more repeatable across compatible hosts; the distinction is isolated standardized build environment versus licensed job concurrency ceiling.
B:A self-hosted agent placed on a reachable network can execute deployment steps against private resources using outbound service connectivity; licensed job concurrency ceiling cannot be delivered through private network execution reachability.
C:Private DNS resolution maps the service hostname to its private endpoint IP, keeping agent traffic on the approved internal route; its effect is private endpoint name resolution, not licensed job concurrency ceiling.
E:Agent capabilities advertise available tools or attributes, and demands constrain scheduling to matching agents; tool-aware agent placement cannot substitute for licensed job concurrency ceiling.
Question 190
A request API's average latency looks normal but customers report rare severe delays; analysts need P95 and P99 response-time metrics. Which KQL function is most relevant?
- Use Container insights for AKS workloads
- Write KQL with where and ago()
- Use KQL join to correlate related tables
- Use KQL summarize percentiles for latency
Explanation
Correct Answer
D:Percentile aggregation exposes tail behavior that arithmetic averages can hide, making high-latency outliers visible.
Incorrect Answers
A:Container insights gathers supported Kubernetes inventory, performance, and log data to support workload and node diagnosis; this solves cluster and pod health visibility, leaving tail-latency distribution analysis unresolved.
B:KQL where predicates using timestamp comparison with ago() narrow a query to the relevant incident window and error condition; this option addresses recent error filtering by time rather than addressing tail-latency distribution analysis.
C:join combines records from two datasets according to chosen keys and join semantics to build correlated views; it handles cross-table telemetry correlation but cannot by itself deliver tail-latency distribution analysis.