Question 170
A Copilot-assisted software team encounters the following situation: A team uses Copilot to generate a data-export script that inadvertently includes secret fields. What should the engineer do to correct this situation?
Explanation
Correct Answer
Data minimization is needed in generated ETL and reporting code. The proposed action directly addresses the identified need: A team uses Copilot to generate a data-export script that inadvertently includes secret fields. A suitable acceptance check is: Exported records contain only approved fields, including on records with optional secrets.
Incorrect Answers
The generated serializer was reviewed for syntax but not for schema compatibility. The specific problem here is that the generated projection copied entire objects without data classification.
The suggested dependency was trusted solely because it appeared in AI output. The specific problem here is that the generated projection copied entire objects without data classification.
The model silently assumed local times were unambiguous. The specific problem here is that the generated projection copied entire objects without data classification.