Question 690
A production Linux service requires a fix for this issue: A team uses AI to write regex that incorrectly matches access logs from unrelated applications. What is the most appropriate targeted action?
Explanation
Correct Answer
A pattern can appear plausible while producing false positives and false negatives. This action corrects the relevant condition. Verify that the pattern matches the intended records and rejects controls.
Incorrect Answers
That remedy is appropriate when an AI-generated unit file uses deprecated service directives and no restart-rate limit. It targets generated configuration should be linted and validated against the target systemd version; here a pattern can appear plausible while producing false positives and false negatives, so it does not directly repair the observed fault.
This change addresses an AI tool proposes a firewall policy but invents a CLI flag unsupported by nftables. The present problem is different: a pattern can appear plausible while producing false positives and false negatives. Applying the alternative would leave the key cause unresolved.
It would correct a separate failure, an AI-generated Ansible playbook works once but alters many unrelated hosts. In this environment, a pattern can appear plausible while producing false positives and false negatives; the indicated alternative does not meet the acceptance test.





CompTIA Linux+ (XK0-006) Practice Tests