Question 310
The issue remains unresolved in a GitHub Copilot workflow: A generated deployment workflow requests broad cloud administrator privileges to run one test. Which missing prerequisite best accounts for this observation?
Explanation
Correct Answer
This is the mechanism or missing prerequisite that accounts for the reported failure. Principle of least privilege still governs AI-assisted automation. Correct it by: Narrow permissions to the minimal necessary scope and validate access; confirm with: The workflow performs the intended test and fails to perform an unrelated privileged operation.
Incorrect Answers
The generated serializer was reviewed for syntax but not for schema compatibility. The stated evidence instead indicates: Copilot suggested unnecessary ambient privilege for convenience.
The rate-limit key came from attacker-controlled data. The stated evidence instead indicates: Copilot suggested unnecessary ambient privilege for convenience.
The suggestion optimized code while overlooking existing compatibility constraints. The stated evidence instead indicates: Copilot suggested unnecessary ambient privilege for convenience.