CompTIA

CY0-001 practice question 5

CompTIA SecAI+ · free question 5 of 20

Question

An airline corporation wants to implement a chatbot application using a large language model (LLM) so its customers: - Can ask questions and receive answers about flight details. - Have the option to upload files. Which of the following security controls should the airline use to protect against malicious input and unauthorized use beyond the service-level agreement? (Choose two.)
  • A. Prompt guardrails Correct
  • B. Role-based access controls
  • C. Firewall rules
  • D. Model token quotas Correct

Explanation

Prompt guardrails inspect and filter user prompts and uploaded content, blocking prompt injection and other malicious input before it reaches the model. Model token quotas cap how much each customer or session can consume, preventing usage beyond the service-level agreement and model denial-of-service. Role-based access controls govern who can access functions but do not filter malicious content, and firewall rules work at the network level and cannot see prompt content or usage volume.

Practice the whole free set

Answer all 20 free CY0-001 questions with instant feedback, or unlock all 121 questions with Learn and Exam modes.