Courseiva
easyMultiple Choice

AIF-C01 Practice Question: The main purpose of a system prompt in a large…

What is the main purpose of a system prompt in a large language model?

⚠ Common exam trap

AWS often tests the distinction between system prompts (high-level behavior) and user prompts (task-specific instructions), trapping candidates who confuse providing an output format example (few-shot prompting) with the system prompt's role of defining persona and constraints.

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

✓

To define the high-level instructions that set the model's behavior and persona

The system prompt in a large language model (LLM) defines the high-level instructions that set the model's behavior, persona, and constraints for the entire conversation. Unlike user prompts, which are task-specific, the system prompt establishes the model's role (e.g., 'You are a helpful assistant') and governs how it interprets all subsequent interactions, ensuring consistent and aligned outputs.

Answer analysis

Option-by-option breakdown

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

  • ✗

    To increase the temperature for more creative responses

    Why it's wrong here

    Temperature is a separate inference parameter controlling sampling randomness; the system prompt sets persistent instructions and persona context. It is tempting because both influence output character, but raising temperature would be the correct action when seeking more creative, varied responses rather than defining model behaviour.

  • ✗

    To provide an example of the desired output format

    Why it's wrong here

    A system prompt sets persistent behavioural instructions and persona across the whole conversation, not a single output-format specimen. Supplying a format example is the job of few-shot prompting, which would be correct when the model must mimic a specific structure rather than obey standing constraints.

  • ✗

    To list all possible tokens to be used in the response

    Why it's wrong here

    Token selection is governed by the model's vocabulary and decoding parameters such as temperature and top-p, not by the system prompt. Enumerating tokens is not a prompt engineering function at all; controlling randomness through inference configuration would be the right approach when deterministic sampling is required.

  • ✓

    To define the high-level instructions that set the model's behavior and persona

    Why this is correct

    A system prompt supplies the high-level instructions that establish the model's behaviour, persona, tone and boundaries before any user turn. It satisfies the stem's requirement for the main purpose by shaping every subsequent response, unlike user prompts which only govern a single exchange.

About these practice questions

Courseiva writes every AIF-C01 question from scratch — 862 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 AIF-C01 practice question is part of Courseiva's free Amazon Web Services 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 AIF-C01 exam.