Courseiva
Fundamentals of Generative AImediumMultiple SelectObjective-mapped

Generative AI Leader Fundamentals of Generative AI Practice Question

A company is designing a prompt engineering strategy for a customer service chatbot using Gemini. Which two practices are recommended for improving response quality? (Choose TWO)

⚠ Common exam trap

Google Cloud often tests the misconception that higher temperature always improves creativity, but in customer service, lower temperature is critical for deterministic, safe responses, and candidates may overlook the role of system instructions in defining behavior.

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 chain-of-thought prompting

Chain-of-thought prompting (A) is recommended because it guides the model to reason step-by-step, improving accuracy on complex customer service queries by breaking down multi-step problems. This technique leverages Gemini's ability to follow logical sequences, reducing errors in tasks like troubleshooting or escalation decisions.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use chain-of-thought prompting

    Why this is correct

    Chain-of-thought encourages logical reasoning, improving accuracy.

  • Always provide multiple examples in the prompt

    Why it's wrong here

    While few-shot learning can help, too many examples may lead to confusion or token limits.

  • Avoid any context in the prompt

    Why it's wrong here

    Without context, the model lacks guidance and may produce irrelevant responses.

  • Set temperature to 1.0 for maximum creativity

    Why it's wrong here

    High temperature increases randomness, which may reduce quality for customer service.

  • Include a system instruction to define the role

    Why this is correct

    System instructions set context and tone, resulting in more consistent responses.

About these practice questions

Courseiva writes every Generative AI Leader question from scratch — 683 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.