Question 21
Choose 1
A management team is concerned about an unexpected cost increase for a public-facing AI
chatbot.
Which of the following should a security administrator examine first to determine the root
cause?
Correct answer:
D. Model token usage
Explanation:
Model token usage is the first metric a security administrator should examine to determine the root cause of an unexpected cost increase for a public-facing AI chatbot. Most commercial and cloud-based AI models bill based on token consumption—the total number of input tokens (prompts) and output tokens (completions) processed. An unexpected cost spike almost always correlates with an increase in token usage, which can result from longer user prompts, verbose model responses, increased API call volume, or malicious actors exploiting the context window (e.g., token-smuggling DoS attacks). Examining token usage logs provides the most direct, granular visibility into consumption patterns, enabling the administrator to identify whether the cost increase is due to legitimate organic growth, a specific user/API key abusing the system, or an attack. Token usage is the foundational billing unit, making it the logical first step in cost investigation.
Why the other options are incorrect:
A. Firewall logs:
Firewall logs track network traffic, allowed/blocked connections, and potential intrusion attempts. While useful for security incident investigation, they do not capture token consumption or AI model usage costs. A surge in traffic might correlate with increased usage, but it does not provide the granular billing data needed to explain cost increases.
B. Web application firewall (WAF) rules:
WAF rules filter and block malicious HTTP traffic. They are security controls, not cost-monitoring tools. Examining WAF rules would not reveal why token consumption or API call volume increased.
C. Vector database input/output operations per second (IOPS) performance:
Vector database IOPS metrics track the performance of retrieval operations in RAG systems. While high retrieval demand can contribute to infrastructure costs, the primary cost driver in generative AI is token consumption. IOPS performance is a secondary operational metric, not the first place to look for billing-related cost increases.
References
CompTIA SecAI+ CY0-001 Exam Objectives: Domain 3.1 (Securing AI Systems – Cost Monitoring and Token Usage) and Domain 4.2 (AI for Security Operations – Log Analysis).
OWASP Top 10 for LLMs (LLM04 – Unbounded Consumption): Highlights token usage as a critical cost and availability risk.
Model token usage is the first metric a security administrator should examine to determine the root cause of an unexpected cost increase for a public-facing AI chatbot. Most commercial and cloud-based AI models bill based on token consumption—the total number of input tokens (prompts) and output tokens (completions) processed. An unexpected cost spike almost always correlates with an increase in token usage, which can result from longer user prompts, verbose model responses, increased API call volume, or malicious actors exploiting the context window (e.g., token-smuggling DoS attacks). Examining token usage logs provides the most direct, granular visibility into consumption patterns, enabling the administrator to identify whether the cost increase is due to legitimate organic growth, a specific user/API key abusing the system, or an attack. Token usage is the foundational billing unit, making it the logical first step in cost investigation.
Why the other options are incorrect:
A. Firewall logs:
Firewall logs track network traffic, allowed/blocked connections, and potential intrusion attempts. While useful for security incident investigation, they do not capture token consumption or AI model usage costs. A surge in traffic might correlate with increased usage, but it does not provide the granular billing data needed to explain cost increases.
B. Web application firewall (WAF) rules:
WAF rules filter and block malicious HTTP traffic. They are security controls, not cost-monitoring tools. Examining WAF rules would not reveal why token consumption or API call volume increased.
C. Vector database input/output operations per second (IOPS) performance:
Vector database IOPS metrics track the performance of retrieval operations in RAG systems. While high retrieval demand can contribute to infrastructure costs, the primary cost driver in generative AI is token consumption. IOPS performance is a secondary operational metric, not the first place to look for billing-related cost increases.
References
CompTIA SecAI+ CY0-001 Exam Objectives: Domain 3.1 (Securing AI Systems – Cost Monitoring and Token Usage) and Domain 4.2 (AI for Security Operations – Log Analysis).
OWASP Top 10 for LLMs (LLM04 – Unbounded Consumption): Highlights token usage as a critical cost and availability risk.