Question 340
A latency query needs a calculated duration category while preserving the original raw columns for analysis. Which KQL operator applies?
- Use KQL extend for computed fields
- Use Container insights for AKS workloads
- Use KQL project to limit output columns
- Use Azure Monitor network monitoring
Explanation
Correct Answer
A:extend adds calculated columns derived from existing expressions without requiring data to be rewritten at ingestion.
Incorrect Answers
B:Container insights gathers supported Kubernetes inventory, performance, and log data to support workload and node diagnosis; its effect is cluster and pod health visibility, not calculated query result dimensions.
C:project selects and can rename the columns returned by a KQL query, producing a focused investigation result; that changes KQL selected-column shaping without delivering calculated query result dimensions.
D:Network monitoring capabilities integrate supported connectivity, flow, and performance signals for troubleshooting network paths; Azure network connection observability cannot substitute for calculated query result dimensions.
Question 341
A monorepo releases two libraries independently, and both publish numeric versions; which tagging convention reduces ambiguity?
- Review GitHub organization audit log for repository permission changes
- Use tag prefixes to distinguish versions
- Grant repository read access without contributor rights
- Control branch creation separately from contributions
Explanation
Correct Answer
B:Component-specific tag prefixes make release identities unambiguous without creating separate histories for each package.
Incorrect Answers
A:Organization audit logs record supported administrative and repository-related actions with actor and timestamp details useful for reconstructing access changes; this option addresses organization access-change attribution rather than addressing component-specific tag namespaces.
C:Repository read permission provides source visibility while Contribute remains ungranted or denied as appropriate; component-specific tag namespaces remains outside the responsibility of nonmutating source review.
D:Azure Repos separates creating branches from contributing to branches, allowing more targeted governance of branch namespaces; that acts on branch creation authority, whereas the requested outcome is component-specific tag namespaces.
Question 342
A library is maintained entirely in GitHub and users need to report defects, attach reproduction steps, and discuss fixes in the repository. Which work-tracking feature fits?
- Link test cases to user stories
- Use GitHub Issues for actionable defect discussions
- Link a pull request to its fixing issue
- Use Azure Boards queries with linked work items
- Link commits to Azure Boards work items
Explanation
Correct Answer
B:GitHub Issues maintains repository-linked discussions, labels, assignees, and references to corresponding pull requests.
Incorrect Answers
A:Azure Test Plans relationships between test cases and work items provide requirement-to-test coverage and execution context; repository-local bug intake cannot be inferred from requirement-to-test evidence alone.
C:GitHub closing keywords in pull request descriptions link issues to code and can close the referenced issue when the PR merges into the default branch; repository-local bug intake cannot be delivered through issue closure with code evidence.
D:Work item link queries can evaluate relationships between bugs, stories, and other Azure Boards items rather than filtering only individual fields; its effect is related-work-item reporting, not repository-local bug intake.
E: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 repository-local bug intake.
Question 343
An AKS workload gets image authorization failures even though the image was pushed successfully; the runtime identity lacks registry access. Which access must be configured?
- Use Kubernetes secrets or external secret providers for credentials
- Grant image pull rights to the workload identity
- Deploy images by digest rather than moving tag
- Scan container images before promotion
Explanation
Correct Answer
B:The identity used to retrieve images needs appropriate pull authorization to the registry scope before the nodes can start workloads.
Incorrect Answers
A:Kubernetes Secret references or an integrated external secret provider keep credentials out of plain repository manifests and support controlled runtime delivery; it contributes to decoupled container credential distribution, with runtime registry pull permission still requiring its own control.
C:Content-addressed image digests tie the deployment manifest to exact image bytes, preserving the tested artifact identity; this option addresses scanned-image immutability rather than addressing runtime registry pull permission.
D:Container image vulnerability scanning inspects packaged layers and known component vulnerabilities before production use; it handles image-layer vulnerability screening but cannot by itself deliver runtime registry pull permission.
Question 344
A release changes both ORM mappings and SQL objects, and reviewers need objective evidence that versions are compatible. Which gate should run?
- Separate application and database rollback strategies
- Require a database compatibility test before promotion
- Prevent secret exposure in migration logs
- Apply additive schema changes before removing fields
Explanation
Correct Answer
B:Integration tests exercising the candidate application against the migrated schema catch contract mismatch before production promotion.
Incorrect Answers
A:Database changes need explicit recovery or forward-fix handling because code rollback alone does not reverse mutated stored data; here application-schema contract verification is the target, not independent data rollback planning.
C:Protected secret injection and logging controls avoid writing database credentials to console output or retained artifacts; application-schema contract verification cannot be inferred from migration credential confidentiality alone.
D:Adding compatible schema structures before switching consumers and later removing old ones allows overlapping application versions to function; the distinction is coexistence-safe schema transformation versus application-schema contract verification.
Question 345
Request volume doubled, so raw failure count rose even though the failure ratio might not have changed. Which calculation better describes reliability?
- Use live metrics for immediate release observation
- Inspect application failure percentage
- Inspect exception telemetry with stack context
- Use custom events for feature adoption
- Track dependency call duration
Explanation
Correct Answer
B:Error percentage divides failed requests by the total observed requests in the same interval, normalizing for traffic volume.
Incorrect Answers
A:Live Metrics supports low-latency observation of selected application signals during active incidents or deployments; immediate application health feedback cannot substitute for traffic-normalized request failure.
C:Exception telemetry captures application error details, potentially including stack information and related operation context; it contributes to application exception root-cause evidence, with traffic-normalized request failure still requiring its own control.
D:Custom events can record meaningful application actions with properties needed to measure feature behavior by rollout cohort; this solves business-specific application usage measurement, leaving traffic-normalized request failure unresolved.
E:Dependency telemetry records outbound calls, timing, and success state, helping isolate latency outside the request handler itself; this option addresses downstream dependency timing rather than addressing traffic-normalized request failure.
Question 346
Security wants a notification whenever someone deletes a production resource group, even if application metrics remain healthy. Which log source should drive it?
- Use an action group for alert delivery
- Configure activity log alerts for control-plane changes
- Route pipeline deployment events into observability
- Use Azure Monitor workbooks for incident views
Explanation
Correct Answer
B:Azure Activity Log records subscription control-plane events that can be targeted by activity-log alert rules.
Incorrect Answers
A:Action groups connect alert rules to notification channels and automation receivers such as email, SMS, and webhooks; that acts on alert recipient and action routing, whereas the requested outcome is Azure administrative operation detection.
C:Deployment annotations or custom events associate release timing and versions with operational metrics and traces; here Azure administrative operation detection is the target, not release-and-runtime event correlation.
D:Azure Monitor workbooks combine supported queries, metrics, and visual components into reusable operational investigation views; although that supports parameterized cross-telemetry dashboard, this scenario calls for Azure administrative operation detection.
Question 347
An external compliance scanner posts a PR status to Azure Repos; merging must require its successful conclusion. What should administrators configure?
- Add the external scanner as a required Azure Pipelines build-validation definition
- Require all scanner comment threads to be resolved before completion
- Add the scanner account as an automatic pull request reviewer
- Configure a required external status check with the scanner's status context
Explanation
Correct Answer
D:A status policy can require a named externally posted pull request status context to succeed before Azure Repos allows completion. Configure the exact scanner context so a report without a passing result cannot satisfy the gate. Require the exact scanner status context in the protected target branch policy, not merely the existence of a posted report.
Incorrect Answers
A:Build-validation policies evaluate a pipeline run. This scanner posts an external PR status rather than acting as an Azure Pipelines build definition, so a build policy would not directly enforce its reported context.
B:Comment resolution policies require review threads to be addressed. A posted compliance status can be failing even when every discussion thread is resolved, so comment rules do not enforce the scan result.
C:An automatic reviewer rule requests a person or group review. Assigning a scanner account to review does not require its externally reported status to succeed.
Question 348
A release creates tool archives that are not NuGet, Maven, or npm packages but still require authenticated versioned distribution. Which Azure Artifacts format fits?
- Use an organization-scoped feed for shared components
- Pin a dependency to an approved internal version
- Use a package proxy strategy for build continuity
- Publish Universal Packages for arbitrary binaries
Explanation
Correct Answer
D:Universal Packages can store and distribute arbitrary files as named versioned packages through Azure Artifacts.
Incorrect Answers
A: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 format-agnostic release file packaging.
B:Exact dependency versions and lockfiles help consumers restore a reviewed artifact rather than whatever is newest in a range; format-agnostic release file packaging remains outside the responsibility of approved dependency reproducibility.
C:Caching packages through configured upstream sources can preserve availability of previously saved versions when their original source is disrupted; that acts on resilience to remote registry outages, whereas the requested outcome is format-agnostic release file packaging.
Question 349
A candidate version reaches a small ring of users, and the release controller must decide whether to expand it. Which monitoring comparison should guide promotion?
- Calculate lead time for changes from source and deployment
- Compare reliability before and after release
- Create a GitHub Actions failure notification
- Review GitHub Actions workflow run failure trends
- Calculate deployment success ratio per environment
Explanation
Correct Answer
B:Compare latency, error rate, and resource saturation for the candidate against a baseline under similar traffic before expanding exposure.
Incorrect Answers
A:Joining source change timestamps with production deployment records yields change lead time across build, review, and release processes; the distinction is source-to-production delivery latency versus risk-based canary expansion decision.
C:Workflow failure events can trigger supported notifications or an automation workflow to notify designated responders; its effect is reactive GitHub workflow failure alert, not risk-based canary expansion decision.
D:Workflow run histories and available Insights surfaces show success/failure patterns that help distinguish recurring automation problems; that changes repository workflow reliability trend without delivering risk-based canary expansion decision.
E:Filtering deployment records to the production environment and dividing successful attempts by all production attempts isolates its delivery success ratio; production-only deployment success percentage cannot substitute for risk-based canary expansion decision.
Question 350
A private key was accidentally committed and the repository was later shared. Which TWO remediation actions address both historical copies and ongoing credential risk? Choose TWO.
- Use git reset on unpublished local work
- Rotate exposed credentials immediately
- Use git stash for temporary unfinished edits
- Use git filter-repo to rewrite sensitive history
- Restore one tracked file from a previous commit
Explanation
Correct Answers
B:Credential revocation or rotation invalidates a secret that may already have been copied; history rewriting alone cannot restore secrecy; revoking leaked credentials is necessary even if the repository history is rewritten, because forks and caches can retain copies.
D:git filter-repo rewrites repository history to remove selected paths or blobs; credentials must also be revoked and old clones addressed.
Incorrect Answers
A:git reset can move the branch reference and optionally change the index and working tree; it should be used carefully on private history; this solves moving an unpublished branch pointer, leaving full-history sensitive blob removal unresolved.
C:git stash saves eligible uncommitted work for later reapplication, freeing the worktree for a different task; it handles temporary worktree shelving but cannot by itself deliver full-history sensitive blob removal.
E:git restore with a chosen source revision retrieves a file's content from the specified tree into the worktree or index; that acts on recovering selected file contents, whereas the requested outcome is full-history sensitive blob removal.