Microsoft GH-300 Practice Test 7
Question 60
An assistant claims a generated test suite proves there are no vulnerabilities. What is a better conclusion?
- Find the race or nondeterministic dependency and apply deterministic synchronization.
- Include authorization failures, timeouts, malformed responses, and retry limits.
- Cover Unicode, empty values, excessive length, and malicious control characters.
- Treat the tests as partial evidence alongside threat modeling and security review.
Explanation
Correct Answer
D:Tests demonstrate covered cases; they cannot establish complete absence of defects.
Incorrect Answers
A:Longer timeouts can hide concurrency defects rather than resolve them. What is a better conclusion. Tests demonstrate covered cases; they cannot establish complete absence of defects.
B:An always-successful mock masks important integration behavior. Tests demonstrate covered cases; they cannot establish complete absence of defects.
C:Input correctness extends beyond a narrow set of common strings. tests demonstrate covered cases; they cannot establish complete absence of defects.
Question 61
Copilot recommends deleting a corrupted cache without checking whether it contains unique data. What should the operator do?
- Verify schema and data backward compatibility before rolling back application binaries.
- Verify cache recoverability and effects before issuing a destructive operation.
- Scope changes to confirmed affected resources and require escalation for broad restarts.
- Plan coordinated credential distribution, verification, and revocation of old secrets.
Explanation
Correct Answer
B:Operational commands need a verified impact and recovery plan.
Incorrect Answers
A:Rolling back code cannot undo incompatible persisted data changes. operational commands need a verified impact and recovery plan.
C:An indiscriminate restart can increase outage impact. operational commands need a verified impact and recovery plan.
D:Partial rotation can break production clients or leave old credentials usable. What should the operator do. Operational commands need a verified impact and recovery plan.
Question 62
An AI-written SRE runbook references an obsolete feature flag. What validation is required?
- Plan coordinated credential distribution, verification, and revocation of old secrets.
- Verify schema and data backward compatibility before rolling back application binaries.
- Verify cache recoverability and effects before issuing a destructive operation.
- Test the procedure against the current deployment and update documented flags.
Explanation
Correct Answer
D:Release-specific changes can invalidate apparently coherent runbooks.
Incorrect Answers
A:Partial rotation can break production clients or leave old credentials usable. What validation is required. Release-specific changes can invalidate apparently coherent runbooks.
B:Rolling back code cannot undo incompatible persisted data changes. release-specific changes can invalidate apparently coherent runbooks.
C:Operational commands need a verified impact and recovery plan. Release-specific changes can invalidate apparently coherent runbooks.
Question 63
A generated incident-response script would restart every service in a cluster. Which control is missing?
- Scope changes to confirmed affected resources and require escalation for broad restarts.
- Test the procedure against the current deployment and update documented flags.
- Verify cache recoverability and effects before issuing a destructive operation.
- Verify schema and data backward compatibility before rolling back application binaries.
Explanation
Correct Answer
A:An indiscriminate restart can increase outage impact.
Incorrect Answers
B:Release-specific changes can invalidate apparently coherent runbooks. an indiscriminate restart can increase outage impact.
C:Operational commands need a verified impact and recovery plan. An indiscriminate restart can increase outage impact.
D:Rolling back code cannot undo incompatible persisted data changes. an indiscriminate restart can increase outage impact.
Question 64
A model suggests rotating secrets but omits dependent application updates. What should be added?
- Plan coordinated credential distribution, verification, and revocation of old secrets.
- Test the procedure against the current deployment and update documented flags.
- Scope changes to confirmed affected resources and require escalation for broad restarts.
- Verify cache recoverability and effects before issuing a destructive operation.
Explanation
Correct Answer
A:Partial rotation can break production clients or leave old credentials usable.
Incorrect Answers
B:Release-specific changes can invalidate apparently coherent runbooks. partial rotation can break production clients or leave old credentials usable.
C:An indiscriminate restart can increase outage impact. What should be added. Partial rotation can break production clients or leave old credentials usable.
D:Operational commands need a verified impact and recovery plan. Partial rotation can break production clients or leave old credentials usable.
Question 65
An AI-written incident runbook recommends a cluster-wide restart and deletion of cached data. Which TWO actions should precede execution? (Select TWO.)
- Check cache recoverability and obtain authorization for destructive operations.
- Establish which services are affected and restrict the restart blast radius.
- Treat the model's certainty as a tested rollback plan.
- Run both commands immediately because they appear in a generated runbook.
- Suppress monitoring alerts so the commands cannot be questioned.
Explanation
Correct Answers
A:Deleting data without recovery evidence creates unnecessary outage risk.
B:Broad restarts can amplify an incident instead of resolving its cause.
Incorrect Answers
C:No recovery proof follows from confident narration.
D:Generated instructions are not operational approval.
E:Hiding signals degrades incident control and auditability.
Question 66
A team selects the longest AI response as the most accurate code review. What should be measured?
- Evaluate the prompt across a stable representative task set.
- Maintain periodic quality sampling, defect triage, and feedback loops.
- Track both development throughput and downstream quality or rework metrics.
- Evaluate findings against confirmed defects, precision, and actionable remediation.
Explanation
Correct Answer
D:Verbosity is not a reliable proxy for correctness or usefulness.
Incorrect Answers
A:A single successful demonstration does not imply general reliability. verbosity is not a reliable proxy for correctness or usefulness.
B:Models, tools, and project constraints change, so control effectiveness must be revisited. Verbosity is not a reliable proxy for correctness or usefulness.
C:Productivity benefits cannot be assessed solely by suggestion acceptance. What should be measured. Verbosity is not a reliable proxy for correctness or usefulness.
Question 67
Copilot repeatedly produces unsafe shell pipelines for one task. What should the team change?
- Add explicit safety constraints and validate behavior on representative prompts.
- Evaluate findings against confirmed defects, precision, and actionable remediation.
- Evaluate the prompt across a stable representative task set.
- Maintain periodic quality sampling, defect triage, and feedback loops.
Explanation
Correct Answer
A:Better context plus measured evaluation addresses a recurring failure mode.
Incorrect Answers
B:Verbosity is not a reliable proxy for correctness or usefulness. better context plus measured evaluation addresses a recurring failure mode.
C:A single successful demonstration does not imply general reliability. better context plus measured evaluation addresses a recurring failure mode.
D:Models, tools, and project constraints change, so control effectiveness must be revisited. Better context plus measured evaluation addresses a recurring failure mode.
Question 68
A pilot reports more accepted suggestions but increased escaped defects. What is the correct assessment?
- Track both development throughput and downstream quality or rework metrics.
- Evaluate findings against confirmed defects, precision, and actionable remediation.
- Maintain periodic quality sampling, defect triage, and feedback loops.
- Add explicit safety constraints and validate behavior on representative prompts.
Explanation
Correct Answer
A:Productivity benefits cannot be assessed solely by suggestion acceptance.
Incorrect Answers
B:Verbosity is not a reliable proxy for correctness or usefulness. productivity benefits cannot be assessed solely by suggestion acceptance.
C:Models, tools, and project constraints change, so control effectiveness must be revisited. Productivity benefits cannot be assessed solely by suggestion acceptance.
D:Better context plus measured evaluation addresses a recurring failure mode. What is the correct assessment. Productivity benefits cannot be assessed solely by suggestion acceptance.
Question 69
A prompt variation improves outcomes on one example but worsens other modules. How should it be judged?
- Add explicit safety constraints and validate behavior on representative prompts.
- Track both development throughput and downstream quality or rework metrics.
- Evaluate the prompt across a stable representative task set.
- Evaluate findings against confirmed defects, precision, and actionable remediation.
Explanation
Correct Answer
C:A single successful demonstration does not imply general reliability.
Incorrect Answers
A:Better context plus measured evaluation addresses a recurring failure mode. How should it be judged. A single successful demonstration does not imply general reliability.
B:Productivity benefits cannot be assessed solely by suggestion acceptance. a single successful demonstration does not imply general reliability.
D:Verbosity is not a reliable proxy for correctness or usefulness. a single successful demonstration does not imply general reliability.
Question 70
A release team stops measuring AI-generated patches after adoption. What improvement is useful?
- Track both development throughput and downstream quality or rework metrics.
- Maintain periodic quality sampling, defect triage, and feedback loops.
- Add explicit safety constraints and validate behavior on representative prompts.
- Evaluate the prompt across a stable representative task set.
Explanation
Correct Answer
B:Models, tools, and project constraints change, so control effectiveness must be revisited.
Incorrect Answers
A:Productivity benefits cannot be assessed solely by suggestion acceptance. models, tools, and project constraints change, so control effectiveness must be revisited.
C:Better context plus measured evaluation addresses a recurring failure mode. What improvement is useful. Models, tools, and project constraints change, so control effectiveness must be revisited.
D:A single successful demonstration does not imply general reliability. Models, tools, and project constraints change, so control effectiveness must be revisited.