Courseiva
easyMultiple ChoiceObjective-mapped

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

    System prompts are for instructions, not for parameter adjustment.

  • To provide an example of the desired output format

    Why it's wrong here

    That is few-shot prompting, not system prompt.

  • To list all possible tokens to be used in the response

    Why it's wrong here

    Tokens are determined by the tokenizer and model, not by a system prompt.

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

    Why this is correct

    System prompts are used to establish context, style, and rules for the conversation.

About these practice questions

Courseiva writes every AIF-C01 question from scratch — 619 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.