Courseiva

NCP-GENL · topic practice

Prompt Engineering practice questions

This domain covers how prompts are structured and tuned inside NVIDIA NeMo and NIM-based LLM applications. Questions use NeMo configuration exhibits and ask you to pick the prompt modification, technique, or design choice that improves reliability, forces technical detail, or raises output quality for tasks like document review.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Prompt Engineering

What the exam tests

What to know about Prompt Engineering

A candidate must read a NeMo configuration or task description, then choose the prompt change that reliably improves output. The key is matching the technique to the goal: few-shot examples, explicit role and format constraints, or system-level instructions rather than vague wording tweaks.

Selecting prompt modifications in NeMo configs to improve reliability of technical support responses

Purpose and mechanics of Few-Shot Prompting when optimizing LLM behavior

Choosing prompt engineering techniques that suppress marketing language and prioritize technical detail

Critical prompt design choices for NeMo automated document review pipelines, including role, format, and constraints

Watch out for

Common Prompt Engineering exam traps

  • ▸Treating Few-Shot Prompting as a fine-tuning method instead of in-context examples that steer output without weight updates
  • ▸Adding more marketing-style adjectives to prompts when the goal is to force technical detail and precision
  • ▸Ignoring NeMo configuration fields such as system prompts or templates and editing only the user message

Practice set

Prompt Engineering questions

20 questions · select your answer, then reveal the explanation

A developer is building a technical support bot that must analyze complex log files to identify root causes. The initial zero-shot prompt often yields generic summaries that miss specific error codes. Which strategy should the developer implement to ensure the model performs logical deduction step-by-step before providing a final answer?

When designing a prompt for a high-stakes financial application, which TWO techniques are most effective for mitigating the risk of prompt injection and ensuring the model adheres to its system-defined guardrails?

An AI practitioner wants to generate a list of creative marketing slogans for a new product but finds the output too repetitive and predictable. Which hyperparameter should be adjusted to increase the randomness and diversity of the slogans generated by the prompt?

A data scientist is using few-shot prompting to classify customer feedback into five distinct categories. Which THREE factors are most critical for selecting effective examples to include in the prompt?

Which prompting technique involves the model generating multiple different reasoning paths and then selecting the most common answer among them to improve the accuracy of complex math problems?

A developer wants to implement a 'Persona' or 'Role-playing' prompt to improve a customer service bot. Which TWO benefits does this technique provide for the model's output?

Which component of a prompt is primarily responsible for providing the model with the specific information it needs to answer a query, such as a retrieved document or a set of database records?

When utilizing the ReAct (Reason + Act) prompting framework, what is the primary purpose of the 'Observation' step in the model's iterative loop?

An engineer is struggling with 'hallucinations' in a model that summarizes legal documents. Which TWO prompt engineering adjustments are most likely to reduce the occurrence of fabricated information?

Question 10mediummultiple choice
Read the full Prompt Engineering explanation →

Which prompting strategy is specifically designed to solve problems by first asking the model to break down a complex task into smaller, manageable sub-problems and then solving each one in order?

A developer is using an LLM to generate SQL queries from natural language. The model frequently confuses table names and column relationships. Which prompt engineering technique would most effectively ground the model's output in the specific database schema being used?

Which TWO of the following are primary reasons for using delimiters (such as ### or ---) in a prompt that includes both instructions and a long source document?

Question 13mediummultiple choice
Read the full Prompt Engineering explanation →

A user wants an LLM to rewrite a paragraph in a 'professional and concise' style. The model provides a professional version, but it is still quite long. Which change to the prompt is most likely to achieve the desired result?

Which TWO of the following strategies effectively reduce hallucination in RAG-based NVIDIA NeMo applications? (Select exactly TWO)

When designing prompts for NVIDIA NeMo Guardrails, which THREE of the following are best practices to ensure alignment and safety? (Select exactly THREE)

Question 16mediummultiple choice
Read the full Prompt Engineering explanation →

Which of the following describes the 'Delimiters' technique in prompt engineering?

Question 17mediummultiple choice
Read the full Prompt Engineering explanation →

When implementing Chain-of-Thought (CoT) prompting for a complex NVIDIA NeMo-based reasoning task, what is the primary benefit of encouraging the model to generate intermediate steps?

Question 18mediummultiple choice
Read the full Prompt Engineering explanation →

Refer to the exhibit. Given this NeMo configuration, which prompt modification would best improve the reliability of technical support queries?

Exhibit

{"model_config": {"temperature": 0.2, "max_tokens": 512, "stop_sequences": ["Human:", "User:"], "system_prompt": "You are a helpful assistant. You must answer based on the provided technical manuals."}}

What is the primary purpose of 'Few-Shot Prompting' in the context of LLM optimization?

Question 20mediummultiple choice
Read the full Prompt Engineering explanation →

Which technique is most appropriate for a task requiring an LLM to generate code in a specific enterprise-internal syntax that is not well-represented in its public training data?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Prompt Engineering sessions

Start a Prompt Engineering only practice session

Every question in these sessions is drawn from the Prompt Engineering domain — nothing else.

Related practice questions

Related NCP-GENL topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the NCP-GENL exam test about Prompt Engineering?
A candidate must read a NeMo configuration or task description, then choose the prompt change that reliably improves output. The key is matching the technique to the goal: few-shot examples, explicit role and format constraints, or system-level instructions rather than vague wording tweaks.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Prompt Engineering questions in a focused session?
Yes — the session launcher on this page draws every question from the Prompt Engineering domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other NCP-GENL topics?
Use the topic links above to move to related areas, or go back to the NCP-GENL question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the NCP-GENL exam covers. They are not copied from any real exam or dump site.