Question 520A browser client prints confidential model context into public analytics events while attempting to measure response quality. Which operational safeguard directly addresses the recurring risk? Apply safe rendering defaults and content-security policies in generated-output components. Use short-lived user sessions, backend quotas, and server-side secret rotation. Enforce resource quotas and validate document parsing before model invocation. Test telemetry redaction during feature releases and maintain explicit retention policies. ExplanationCorrect Answer D:Test telemetry redaction during feature releases and maintain explicit retention policies. This maintains the fix beyond the immediate incident. The underlying issue is that analytics and debugging can expose user content if data minimization is not enforced across services. The immediate corrective action remains: Send only approved pseudonymous quality metrics from the backend and avoid sensitive prompt payloads in client telemetry. Other Answers A:Untrusted generated content can create an injection sink when inserted into the browser DOM unsafely. The stronger recurring control is to test telemetry redaction during feature releases and maintain explicit retention policies. B:Client applications cannot keep shared provider secrets confidential from users who control the binary. The stronger recurring control is to test telemetry redaction during feature releases and maintain explicit retention policies. C:Raw file length must be budgeted; model context capacity is finite and includes instructions and outputs. The stronger recurring control is to test telemetry redaction during feature releases and maintain explicit retention policies.
Question 521A team's CLAUDE.md says not to run destructive commands, but a Claude Code agent still has permission to execute arbitrary shell commands. What implementation decision best satisfies the stated constraints? Enforce critical command restrictions in permissions or hooks, treating CLAUDE.md as guidance rather than a security boundary. Restrict writable paths and review instruction-file sources so untrusted outputs cannot change effective project guidance. Document how the applicable instructions combine and remove conflicting lower-level guidance through review. Apply enforceable managed settings at the appropriate policy level and verify override precedence. ExplanationCorrect Answer A:Instructions can influence model behavior, but executable runtime policy determines whether an action is allowed. To confirm, attempt a blocked destructive test command and verify the permission layer refuses execution. Other Answers B:Executable or instructional configuration becomes a prompt-injection surface when lower-trust writers can modify it. The required change instead is to enforce critical command restrictions in permissions or hooks, treating CLAUDE.md as guidance rather than a security boundary. C:Instruction-file hierarchy is a configuration composition problem, not an implicit permission bypass. The required change instead is to enforce critical command restrictions in permissions or hooks, treating CLAUDE.md as guidance rather than a security boundary. D:Local convenience settings should not be able to weaken mandatory organization-wide tool restrictions. This failure calls for a decision to enforce critical command restrictions in permissions or hooks, treating CLAUDE.md as guidance rather than a security boundary.
Question 522A team's CLAUDE.md says not to run destructive commands, but a Claude Code agent still has permission to execute arbitrary shell commands. What happens technically at the boundary that needs correction? Instructions can influence model behavior, but executable runtime policy determines whether an action is allowed. Executable or instructional configuration becomes a prompt-injection surface when lower-trust writers can modify it. Local convenience settings should not be able to weaken mandatory organization-wide tool restrictions. Instruction-file hierarchy is a configuration composition problem, not an implicit permission bypass. ExplanationCorrect Answer A:Instructions can influence model behavior, but executable runtime policy determines whether an action is allowed. This is why the appropriate action is to enforce critical command restrictions in permissions or hooks, treating CLAUDE.md as guidance rather than a security boundary. The expected evidence is: Attempt a blocked destructive test command and verify the permission layer refuses execution. Other Answers B:Executable or instructional configuration becomes a prompt-injection surface when lower-trust writers can modify it. By contrast, instructions can influence model behavior, but executable runtime policy determines whether an action is allowed. C:Local convenience settings should not be able to weaken mandatory organization-wide tool restrictions. By contrast, instructions can influence model behavior, but executable runtime policy determines whether an action is allowed. D:Instruction-file hierarchy is a configuration composition problem, not an implicit permission bypass. By contrast, instructions can influence model behavior, but executable runtime policy determines whether an action is allowed.
Question 523A team's CLAUDE.md says not to run destructive commands, but a Claude Code agent still has permission to execute arbitrary shell commands. Which finding would support a safe release decision? Run a scoped task and inspect the effective guidance and conflicts under the target directory. Attempt a prohibited action with a conflicting project setting and confirm the managed policy prevails. Attempt a blocked destructive test command and verify the permission layer refuses execution. Create a harmless generated file and verify it cannot alter the loaded trusted instructions. ExplanationCorrect Answer C:Attempt a blocked destructive test command and verify the permission layer refuses execution. This directly checks whether the proposed action occurred: Enforce critical command restrictions in permissions or hooks, treating CLAUDE.md as guidance rather than a security boundary. The relevant mechanism is: Instructions can influence model behavior, but executable runtime policy determines whether an action is allowed. Other Answers A:Instruction-file hierarchy is a configuration composition problem, not an implicit permission bypass. The relevant acceptance check is to attempt a blocked destructive test command and verify the permission layer refuses execution. B:Local convenience settings should not be able to weaken mandatory organization-wide tool restrictions. A more meaningful verification is to attempt a blocked destructive test command and verify the permission layer refuses execution. D:Executable or instructional configuration becomes a prompt-injection surface when lower-trust writers can modify it. The relevant acceptance check is to attempt a blocked destructive test command and verify the permission layer refuses execution.
Question 524A team's CLAUDE.md says not to run destructive commands, but a Claude Code agent still has permission to execute arbitrary shell commands. What should be added to the release checklist? Review managed-setting drift and document authorized project exceptions. Manage safety rules in reviewed configuration and test enforcement separately from prompt wording. Keep project guidance concise, versioned, and checked for contradictions before merge. Separate build output, untrusted inputs, and version-controlled guidance directories. ExplanationCorrect Answer B:Manage safety rules in reviewed configuration and test enforcement separately from prompt wording. This maintains the fix beyond the immediate incident. The underlying issue is that instructions can influence model behavior, but executable runtime policy determines whether an action is allowed. The immediate corrective action remains: Enforce critical command restrictions in permissions or hooks, treating CLAUDE.md as guidance rather than a security boundary. Other Answers A:Local convenience settings should not be able to weaken mandatory organization-wide tool restrictions. A more direct preventive measure is to manage safety rules in reviewed configuration and test enforcement separately from prompt wording. C:Instruction-file hierarchy is a configuration composition problem, not an implicit permission bypass. The lasting safeguard is to manage safety rules in reviewed configuration and test enforcement separately from prompt wording. D:Executable or instructional configuration becomes a prompt-injection surface when lower-trust writers can modify it. The lasting safeguard is to manage safety rules in reviewed configuration and test enforcement separately from prompt wording.
Question 525A developer stores secret tokens in settings.local.json, then accidentally commits the file to the team repository. Which first engineering change most directly addresses the failure? Apply enforceable managed settings at the appropriate policy level and verify override precedence. Keep local overrides git-ignored, store credentials in an appropriate secret manager, and rotate any exposed tokens. Separate environment-specific configuration and apply fail-closed production resource restrictions to nonproduction identities. Document how the applicable instructions combine and remove conflicting lower-level guidance through review. ExplanationCorrect Answer B:Local configuration can become distributed data when tracked by version control. To confirm, inspect repository history and confirm the credential was revoked and the override is untracked. Other Answers A:Local convenience settings should not be able to weaken mandatory organization-wide tool restrictions. The required change instead is to keep local overrides git-ignored, store credentials in an appropriate secret manager, and rotate any exposed tokens. C:Configuration leakage across environments can create real data side effects despite an otherwise correct prompt. This failure calls for a decision to keep local overrides git-ignored, store credentials in an appropriate secret manager, and rotate any exposed tokens. D:Instruction-file hierarchy is a configuration composition problem, not an implicit permission bypass. A more relevant action is to keep local overrides git-ignored, store credentials in an appropriate secret manager, and rotate any exposed tokens.
Question 526A developer stores secret tokens in settings.local.json, then accidentally commits the file to the team repository. Which causal principle is most relevant to this case? Instruction-file hierarchy is a configuration composition problem, not an implicit permission bypass. Local convenience settings should not be able to weaken mandatory organization-wide tool restrictions. Configuration leakage across environments can create real data side effects despite an otherwise correct prompt. Local configuration can become distributed data when tracked by version control. ExplanationCorrect Answer D:Local configuration can become distributed data when tracked by version control. This is why the appropriate action is to keep local overrides git-ignored, store credentials in an appropriate secret manager, and rotate any exposed tokens. The expected evidence is: Inspect repository history and confirm the credential was revoked and the override is untracked. Other Answers A:Instruction-file hierarchy is a configuration composition problem, not an implicit permission bypass. By contrast, local configuration can become distributed data when tracked by version control. B:Local convenience settings should not be able to weaken mandatory organization-wide tool restrictions. In the stated system, local configuration can become distributed data when tracked by version control. C:Configuration leakage across environments can create real data side effects despite an otherwise correct prompt. In the stated system, local configuration can become distributed data when tracked by version control.
Question 527A developer stores secret tokens in settings.local.json, then accidentally commits the file to the team repository. What should the reviewer verify before closing this problem? Attempt a prohibited action with a conflicting project setting and confirm the managed policy prevails. Launch the staging identity and confirm access to production data and write tools is denied. Run a scoped task and inspect the effective guidance and conflicts under the target directory. Inspect repository history and confirm the credential was revoked and the override is untracked. ExplanationCorrect Answer D:Inspect repository history and confirm the credential was revoked and the override is untracked. This directly checks whether the proposed action occurred: Keep local overrides git-ignored, store credentials in an appropriate secret manager, and rotate any exposed tokens. The relevant mechanism is: Local configuration can become distributed data when tracked by version control. Other Answers A:Local convenience settings should not be able to weaken mandatory organization-wide tool restrictions. The relevant acceptance check is to inspect repository history and confirm the credential was revoked and the override is untracked. B:Configuration leakage across environments can create real data side effects despite an otherwise correct prompt. A more meaningful verification is to inspect repository history and confirm the credential was revoked and the override is untracked. C:Instruction-file hierarchy is a configuration composition problem, not an implicit permission bypass. The failure is checked more directly by a test to inspect repository history and confirm the credential was revoked and the override is untracked.
Question 528A developer stores secret tokens in settings.local.json, then accidentally commits the file to the team repository. Which change to development practice best prevents this defect returning? Maintain segregated service accounts and deployment-time environment validation. Keep project guidance concise, versioned, and checked for contradictions before merge. Review managed-setting drift and document authorized project exceptions. Use precommit secret scanning and protected development-environment credential issuance. ExplanationCorrect Answer D:Use precommit secret scanning and protected development-environment credential issuance. This maintains the fix beyond the immediate incident. The underlying issue is that local configuration can become distributed data when tracked by version control. The immediate corrective action remains: Keep local overrides git-ignored, store credentials in an appropriate secret manager, and rotate any exposed tokens. Other Answers A:Configuration leakage across environments can create real data side effects despite an otherwise correct prompt. The lasting safeguard is to use precommit secret scanning and protected development-environment credential issuance. B:Instruction-file hierarchy is a configuration composition problem, not an implicit permission bypass. Reducing this risk requires a practice to use precommit secret scanning and protected development-environment credential issuance. C:Local convenience settings should not be able to weaken mandatory organization-wide tool restrictions. The stronger recurring control is to use precommit secret scanning and protected development-environment credential issuance.
Question 529A production service references a floating model alias and an unversioned prompt string, causing unexplained behavior changes between deploys. Which response addresses the reported defect most directly? Pin supported model snapshots and version prompt artifacts with each release identifier. Log prompt and model version identifiers but continue deploying a floating alias and mutable unreviewed prompt. Roll out one controlled configuration variable at a time and record before-and-after evaluations. Restore the intended version-controlled configuration and deploy the correction through reviewed release automation. ExplanationCorrect Answer A:Dynamic aliases and mutable prompt definitions prevent reliable reproduction of evaluation outcomes. To confirm, replay a golden request and compare exact model and prompt IDs in production traces. Other Answers B:Log prompt and model version identifiers but continue deploying a floating alias and mutable unreviewed prompt. Posthoc identifiers alone do not pin reproducible behavior or gate version changes on evaluations. C:Confounded simultaneous changes prevent reliable causal diagnosis of quality regression. This failure calls for a decision to pin supported model snapshots and version prompt artifacts with each release identifier. D:Untracked live configuration creates drift between tested code and production behavior. The required change instead is to pin supported model snapshots and version prompt artifacts with each release identifier.
Question 530A production service references a floating model alias and an unversioned prompt string, causing unexplained behavior changes between deploys. Why would the appropriate approach resolve this particular problem? Reproducibility depends on known behavioral inputs as well as the user content. Untracked live configuration creates drift between tested code and production behavior. Confounded simultaneous changes prevent reliable causal diagnosis of quality regression. Dynamic aliases and mutable prompt definitions prevent reliable reproduction of evaluation outcomes. ExplanationCorrect Answer D:Dynamic aliases and mutable prompt definitions prevent reliable reproduction of evaluation outcomes. This is why the appropriate action is to pin supported model snapshots and version prompt artifacts with each release identifier. The expected evidence is: Replay a golden request and compare exact model and prompt IDs in production traces. Other Answers A:Reproducibility depends on known behavioral inputs as well as the user content. In the stated system, dynamic aliases and mutable prompt definitions prevent reliable reproduction of evaluation outcomes. B:Untracked live configuration creates drift between tested code and production behavior. By contrast, dynamic aliases and mutable prompt definitions prevent reliable reproduction of evaluation outcomes. C:Confounded simultaneous changes prevent reliable causal diagnosis of quality regression. In the stated system, dynamic aliases and mutable prompt definitions prevent reliable reproduction of evaluation outcomes.