AWS Certified AI Practitioner (AIF-C01) — Question 248

What is the primary purpose of system prompts in generative AI applications?

Answer options

Correct answer: C

Explanation

The correct answer is C because system prompts are designed to set the guidelines and expected behavior of the AI, ensuring it operates within defined parameters. Options A and D are incorrect as they pertain to user authentication and data compression, respectively, which are not the functions of system prompts. Option B is also wrong since system prompts do not generate random responses but rather guide the AI's output.