Generative AI Leader Practice Question: Business Strategies for Generative AI Solutions
A startup is building a generative AI tool that helps users write code. They want to launch quickly but need to ensure the generated code is secure and does not introduce vulnerabilities. They have a small team of developers with some ML experience. The tool should be cloud-hosted. Which approach balances speed, security, and cost?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use a pre-trained code model (e.g., Codey) and add a security filtering layer
Using a pre-trained code model like Codey with a security filtering layer offers the best balance: rapid deployment via an existing model, built-in safety checks to mitigate vulnerabilities, and cost-effectiveness by avoiding custom training. Option A (manual review) is unscalable and insecure. Option B (training from scratch) is too slow and expensive. Option D (restricting outputs) limits utility.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Deploy the tool without any security checks and rely on manual review
Why it's wrong here
Manual review is slow and not scalable.
- ✗
Train a custom code generation model from scratch on a large dataset
Why it's wrong here
Too time-consuming and costly for a quick launch.
- ✓
Use a pre-trained code model (e.g., Codey) and add a security filtering layer
Why this is correct
Leverages existing model, adds security checks, fast to deploy.
- ✗
Use a smaller model and restrict outputs to only simple code patterns
Why it's wrong here
Restricting outputs limits functionality and may not meet user needs.
Go deeper
Related to this question
About these practice questions
This Generative AI Leader question is part of Courseiva's 683-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This Generative AI Leader practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the Generative AI Leader exam.