CY0-001 practice question 8 of 35

Configuring a secure Large Language Model (LLM) for automated log analysis requires establishing high-level instructions that dictate the model's…

Full set: 484 questions
Configuring a secure Large Language Model (LLM) for automated log analysis requires establishing high-level instructions that dictate the model's persona and safety boundaries. During the development of a security-focused chatbot, the team needs to ensure the model remains in "analyst mode" and refuses to provide administrative credentials, even if a user attempts to bypass standard filters. Which of the following approaches BEST utilizes the provided architecture to enforce these behavioral constraints?
Answer options
A: Apply Homomorphic Encryption to the training data sets
B: Define operational boundaries within the system prompt configuration Correct answer
C: Adjust the temperature parameter to ensure deterministic outputs
D: Implement Role-Based Access Control (RBAC) for model inference
Correct Answer:
B. Define operational boundaries within the system prompt configuration
Explanation

The system prompt is a set of high-level instructions provided to an LLM before any user input. It is the standard and most effective method for defining the model's persona, operational boundaries, and safety guardrails. By configuring the system prompt to state that the model is a "security analyst" and must "never reveal administrative credentials," the team directly enforces the required behavioral constraints at the core of the model's operation for that session.

Why Incorrect

A. Homomorphic Encryption protects data privacy during processing but does not influence or control the behavioral output of the LLM.
C. Adjusting the temperature parameter controls the randomness of the output, not the adherence to fundamental operational rules or safety policies.
D. RBAC controls user access to the model, not the internal behavior of the model itself during an inference session.

References

1. Wei, A., et al. (2023). "Jailbroken: How Does LLM Safety Training Fail?". arXiv preprint arXiv:2307.02483. This paper discusses how system prompts are the primary mechanism for safety alignment and how attackers try to override them. (Section 2.1, "System Prompts").

2. OpenAI. (2023). "GPTs - Custom instructions". OpenAI Documentation. The official documentation for custom GPTs explains that the "Instructions" field (a system prompt) is used to define the model's personality and what it should or should not do. (Accessed via OpenAI's developer platform documentation on GPT customization).

3. Perez, F., & Ribeiro, I. (2022). "Ignore Previous Prompt: Attack Techniques For Language Models". Stanford University HAI. This research highlights the critical role of the initial prompt (system prompt) in defining model behavior and how attacks focus on escaping these constraints. (Section: "Prompt Injection").

Scroll to Top