An engineering leader wants to reduce the time developers spend writing repetitive boilerplate and unit tests. Which type of gen AI solution best fits this goal?
Choose one.
Code generation is the gen AI solution type aimed at developer productivity — drafting functions, completing code, and generating tests from natural-language intent.
The stated goal is cutting the time developers spend on boilerplate and tests, which is precisely the problem code generation solves. Foundation models trained on code can propose implementations and test cases that developers review and refine. The other options either serve a different audience (personalization serves end users), a different modality (images), or a different purpose entirely (security posture management).
- Identify the audience and task: developers writing repetitive code.
- Map developer authoring tasks to the code generation solution type.
- Discard options that generate non-code outputs or serve security functions.
- Confirm that generated code will still be reviewed by developers before use, keeping quality under human control.
Exam tip: Developer-productivity needs map to code generation, one of the core gen AI solution types.
Implementing a Transformational Gen AI Solution: The Google Cloud Steps — the lesson that teaches this.