Question 670 An AI-generated dependency update introduces a package with a critical published vulnerability. Which response most directly addresses the stated need or control weakness? Require standard SAST checks independently of model review before merge. Run software composition analysis and lockfile checks before accepting dependency changes. Protect invariant technical tokens before translation and validate them afterward. Derive independent expected behavior and test it against the patch rather than accepting self-confirming tests. ExplanationCorrect Answer B:Model-generated package suggestions may include insecure or nonexistent versions. Verification: Use a known vulnerable test dependency and verify SCA flags it. Other Answers A:“Require standard SAST checks independently of model review before merge” would not correct the underlying issue because model-generated package suggestions may include insecure or nonexistent versions. C:“Protect invariant technical tokens before translation and validate them afterward” would not correct the underlying issue because model-generated package suggestions may include insecure or nonexistent versions. D:“Derive independent expected behavior and test it against the patch rather than accepting self-confirming tests” would not correct the underlying issue because model-generated package suggestions may include insecure or nonexistent versions.
Question 671 An AI-generated dependency update introduces a package with a critical published vulnerability. Which underlying principle best explains the situation? Language models can transform alphanumeric identifiers while translating surrounding prose. Model-generated tests can repeat a mistaken assumption from the generated code. Model-generated package suggestions may include insecure or nonexistent versions. A model's code-safety claim is not a substitute for a security scanner or controlled test. ExplanationCorrect Answer C:Model-generated package suggestions may include insecure or nonexistent versions. A corrective step is to run software composition analysis and lockfile checks before accepting dependency changes. Other Answers A:“Language models can transform alphanumeric identifiers while translating surrounding prose” does not explain what happened because model-generated package suggestions may include insecure or nonexistent versions. B:“Model-generated tests can repeat a mistaken assumption from the generated code” does not explain what happened because model-generated package suggestions may include insecure or nonexistent versions. D:“A model's code-safety claim is not a substitute for a security scanner or controlled test” does not explain what happened because model-generated package suggestions may include insecure or nonexistent versions.
Question 672 An AI-generated dependency update introduces a package with a critical published vulnerability. Which test best verifies the intended result in this case? Use reviewer-defined assertions and see whether the patch passes independent cases. Run only source-code formatting and lint checks after the dependency update, without scanning dependency advisories. Translate seeded multilingual advisories and verify CVE, hashes and IPs remain unchanged. Use a known vulnerable test dependency and verify SCA flags it. ExplanationCorrect Answer D:Use a known vulnerable test dependency and verify SCA flags it. Model-generated package suggestions may include insecure or nonexistent versions. Other Answers A:“Use reviewer-defined assertions and see whether the patch passes independent cases” does not establish the required result because model-generated package suggestions may include insecure or nonexistent versions. B:Style and syntax checks do not establish that a newly introduced package is free of known vulnerable versions; software composition analysis must inspect advisories. C:“Translate seeded multilingual advisories and verify CVE, hashes and IPs remain unchanged” does not establish the required result because model-generated package suggestions may include insecure or nonexistent versions.
Question 673 An AI-generated dependency update introduces a package with a critical published vulnerability. Which ongoing safeguard best prevents this problem or keeps the requirement satisfied? Require SBOM and SCA validation in AI-assisted development pipelines. Keep SAST checks mandatory for AI-generated and human-written code alike. Add token-preservation checks to all AI-assisted security translations. Separate acceptance criteria authorship from AI code-generation output. ExplanationCorrect Answer A:Model-generated package suggestions may include insecure or nonexistent versions. Verification: Use a known vulnerable test dependency and verify SCA flags it. Other Answers B:“Keep SAST checks mandatory for AI-generated and human-written code alike” does not adequately prevent recurrence because model-generated package suggestions may include insecure or nonexistent versions. C:“Add token-preservation checks to all AI-assisted security translations” does not adequately prevent recurrence because model-generated package suggestions may include insecure or nonexistent versions. D:“Separate acceptance criteria authorship from AI code-generation output” does not adequately prevent recurrence because model-generated package suggestions may include insecure or nonexistent versions.
Question 674 An AI assistant drafts deployment YAML that contains a plaintext API token copied from a ticket. Which response most directly addresses the stated need or control weakness? Retain source-linked event identifiers and immutable evidence pointers in the report. Block the build with secret scanning and rotate the exposed token. Split service identities and restrict the deploy token to approved environment resources. Populate required fields from verified evidence and leave unknown values explicit. ExplanationCorrect Answer B:LLM generation can reproduce sensitive input and embed it into persistent code artifacts. Verification: Seed a fake credential in a test prompt and verify repository/CI scanners detect it. Other Answers A:“Retain source-linked event identifiers and immutable evidence pointers in the report” would not correct the underlying issue because LLM generation can reproduce sensitive input and embed it into persistent code artifacts. C:“Split service identities and restrict the deploy token to approved environment resources” would not correct the underlying issue because LLM generation can reproduce sensitive input and embed it into persistent code artifacts. D:“Populate required fields from verified evidence and leave unknown values explicit” would not correct the underlying issue because LLM generation can reproduce sensitive input and embed it into persistent code artifacts.
Question 675 An AI assistant drafts deployment YAML that contains a plaintext API token copied from a ticket. Which underlying principle best explains the situation? A single overprivileged credential can convert a harmless build step into damaging production access. Generated ticket text can fabricate facts when the source record is incomplete. LLM generation can reproduce sensitive input and embed it into persistent code artifacts. Generative summaries can erase provenance needed for legal and technical review. ExplanationCorrect Answer C:LLM generation can reproduce sensitive input and embed it into persistent code artifacts. The corresponding corrective action is Block the build with secret scanning and rotate the exposed token. Other Answers A:“A single overprivileged credential can convert a harmless build step into damaging production access” does not explain what happened because LLM generation can reproduce sensitive input and embed it into persistent code artifacts. B:“Generated ticket text can fabricate facts when the source record is incomplete” does not explain what happened because LLM generation can reproduce sensitive input and embed it into persistent code artifacts. D:“Generative summaries can erase provenance needed for legal and technical review” does not explain what happened because LLM generation can reproduce sensitive input and embed it into persistent code artifacts.
Question 676 An AI assistant drafts deployment YAML that contains a plaintext API token copied from a ticket. Which test best verifies the intended result in this case? Replay incomplete logs and confirm the ticket marks unknown hosts without inventions. Compare report claims against the event register and verify every critical assertion has a source. Attempt a production delete using the test-report identity and verify denial. Seed a fake credential in a test prompt and verify repository/CI scanners detect it. ExplanationCorrect Answer D:Seed a fake credential in a test prompt and verify repository/CI scanners detect it. LLM generation can reproduce sensitive input and embed it into persistent code artifacts. Other Answers A:“Replay incomplete logs and confirm the ticket marks unknown hosts without inventions” does not establish the required result because LLM generation can reproduce sensitive input and embed it into persistent code artifacts. B:“Compare report claims against the event register and verify every critical assertion has a source” does not establish the required result because LLM generation can reproduce sensitive input and embed it into persistent code artifacts. C:“Attempt a production delete using the test-report identity and verify denial” does not establish the required result because LLM generation can reproduce sensitive input and embed it into persistent code artifacts.
Question 677 An AI assistant drafts deployment YAML that contains a plaintext API token copied from a ticket. Which ongoing safeguard best prevents this problem or keeps the requirement satisfied? Prohibit secrets in prompts and require automated secret detection on generated artifacts. Make evidence citations and immutable artifact IDs mandatory report fields. Require stage-specific workloads and least-privilege CI credentials. Require structured source-linked fields and uncertainty handling in ticket automation. ExplanationCorrect Answer A:LLM generation can reproduce sensitive input and embed it into persistent code artifacts. Verification: Seed a fake credential in a test prompt and verify repository/CI scanners detect it. Other Answers B:“Make evidence citations and immutable artifact IDs mandatory report fields” does not adequately prevent recurrence because LLM generation can reproduce sensitive input and embed it into persistent code artifacts. C:“Require stage-specific workloads and least-privilege CI credentials” does not adequately prevent recurrence because LLM generation can reproduce sensitive input and embed it into persistent code artifacts. D:“Require structured source-linked fields and uncertainty handling in ticket automation” does not adequately prevent recurrence because LLM generation can reproduce sensitive input and embed it into persistent code artifacts.
Question 678 An agent writes a code patch whose unit tests were generated from the same faulty interpretation of a requirement. Which response most directly addresses the stated need or control weakness? Run software composition analysis and lockfile checks before accepting dependency changes. Derive independent expected behavior and test it against the patch rather than accepting self-confirming tests. Require standard SAST checks independently of model review before merge. Populate required fields from verified evidence and leave unknown values explicit. ExplanationCorrect Answer B:Model-generated tests can repeat a mistaken assumption from the generated code. Verification: Use reviewer-defined assertions and see whether the patch passes independent cases. Other Answers A:“Run software composition analysis and lockfile checks before accepting dependency changes” would not correct the underlying issue because model-generated tests can repeat a mistaken assumption from the generated code. C:“Require standard SAST checks independently of model review before merge” would not correct the underlying issue because model-generated tests can repeat a mistaken assumption from the generated code. D:“Populate required fields from verified evidence and leave unknown values explicit” would not correct the underlying issue because model-generated tests can repeat a mistaken assumption from the generated code.
Question 679 An agent writes a code patch whose unit tests were generated from the same faulty interpretation of a requirement. Which underlying principle best explains the situation? A model's code-safety claim is not a substitute for a security scanner or controlled test. Generated ticket text can fabricate facts when the source record is incomplete. Model-generated tests can repeat a mistaken assumption from the generated code. Model-generated package suggestions may include insecure or nonexistent versions. ExplanationCorrect Answer C:Model-generated tests can repeat a mistaken assumption from the generated code. The corresponding corrective action is Derive independent expected behavior and test it against the patch rather than accepting self-confirming tests. Other Answers A:“A model's code-safety claim is not a substitute for a security scanner or controlled test” does not explain what happened because model-generated tests can repeat a mistaken assumption from the generated code. B:“Generated ticket text can fabricate facts when the source record is incomplete” does not explain what happened because model-generated tests can repeat a mistaken assumption from the generated code. D:“Model-generated package suggestions may include insecure or nonexistent versions” does not explain what happened because model-generated tests can repeat a mistaken assumption from the generated code.
Question 680 An agent writes a code patch whose unit tests were generated from the same faulty interpretation of a requirement. Which test best verifies the intended result in this case? Replay incomplete logs and confirm the ticket marks unknown hosts without inventions. Use a known vulnerable test dependency and verify SCA flags it. Introduce a seeded vulnerable fixture and verify CI blocks the change. Use reviewer-defined assertions and see whether the patch passes independent cases. ExplanationCorrect Answer D:Use reviewer-defined assertions and see whether the patch passes independent cases. Model-generated tests can repeat a mistaken assumption from the generated code. Other Answers A:“Replay incomplete logs and confirm the ticket marks unknown hosts without inventions” does not establish the required result because model-generated tests can repeat a mistaken assumption from the generated code. B:“Use a known vulnerable test dependency and verify SCA flags it” does not establish the required result because model-generated tests can repeat a mistaken assumption from the generated code. C:“Introduce a seeded vulnerable fixture and verify CI blocks the change” does not establish the required result because model-generated tests can repeat a mistaken assumption from the generated code.