Courseiva
AI SecuritymediumMultiple ChoiceObjective-mapped

AI0-001 AI Security Practice Question

A company deploys an LLM chatbot that has access to a database of customer orders. They want to prevent the LLM from revealing order details unless the user is authenticated as the owner. Which security control should be implemented?

⚠ Common exam trap

The AI0-001 exam often tests the misconception that output filtering or input sanitization alone can prevent data leakage, when in fact they fail to address the root cause—lack of authentication and authorization at the API or model access layer.

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

Access controls on the model and API

Access controls on the model and API (Option D) are the correct security control because they enforce authentication and authorization at the API gateway or model endpoint level, ensuring that only the authenticated owner can query their own order details. This prevents unauthorized users from invoking the LLM to retrieve sensitive data, regardless of the prompt content. Without such access controls, the LLM would have no inherent mechanism to verify user identity before processing requests.

Answer analysis

Option-by-option breakdown

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

  • Output filtering

    Why it's wrong here

    Output filtering blocks harmful content but cannot determine if the user is authorized for specific data.

  • Rate limiting

    Why it's wrong here

    Rate limiting prevents abuse but does not enforce user-specific access.

  • Input validation and sanitization

    Why it's wrong here

    Input validation checks for malicious input but does not enforce user authorization.

  • Access controls on the model and API

    Why this is correct

    Access controls enforce authentication and authorization, ensuring only the order owner can retrieve their details.

About these practice questions

This AI0-001 question is part of Courseiva's 754-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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 AI0-001 practice question is part of Courseiva's free CompTIA 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 AI0-001 exam.