A data scientist is working with unlabeled data and wants to build a clustering model. Which of the following techniques should a data scientist use?
Correct Answer: C
Basic Concept: Different ML learning paradigms handle different data situations. The availability of labeled versus unlabeled data determines which learning approach is appropriate. Building clustering models specifically requires learning from data without predefined category labels. CompTIA SecAI+ Study Guide covers ML learning paradigms under basic AI concepts. Why C is Correct: Unsupervised learning works with unlabeled data by discovering inherent patterns, structures, and groupings within the data without predefined categories. Clustering is the canonical unsupervised learning task, where algorithms like k-means, hierarchical clustering, or DBSCAN group similar data points together based on feature similarity. Since the data scientist has unlabeled data and wants to find natural groupings, unsupervised learning is the appropriate and correct technique. Why A is Wrong: Supervised learning requires labeled training data where each example has a corresponding correct output label. The data scientist explicitly has unlabeled data, making supervised learning inapplicable without first completing the labor-intensive task of manually labeling all examples. Why B is Wrong: Reinforcement learning trains agents to take actions in an environment to maximize cumulative rewards through trial and error. It is designed for sequential decision-making problems, not for finding groupings in static, unlabeled datasets. Why D is Wrong: Semi-supervised learning combines a small amount of labeled data with a large amount of unlabeled data. It requires at least some labels to guide learning. The scenario specifies working with unlabeled data only, making unsupervised learning the pure fit.
Question 62
Which of the following attacks would be the best to automate with AI during dynamic application software testing (DAST)?
Correct Answer: C
Basic Concept: Dynamic Application Security Testing (DAST) tests running applications by sending various inputs to discover vulnerabilities. AI can significantly enhance DAST by intelligently generating diverse, targeted test payloads that traditional tools might miss. CompTIA SecAI+ covers AI augmentation of security testing methodologies. Why C is Correct: Payload creation is highly suitable for AI automation during DAST. AI can generate diverse, contextually appropriate attack payloads such as SQL injection strings, XSS vectors, command injection attempts, and format string exploits tailored to the specific application ' s behavior observed during testing. AI can learn from the application ' s responses to previous payloads and generate increasingly targeted inputs, discovering vulnerabilities more efficiently than static payload databases. Why A is Wrong: DDoS attacks are volume-based attacks designed to overwhelm network or application infrastructure. Automating DDoS during DAST is inappropriate as it would disrupt service availability rather than discover application security vulnerabilities, and it is harmful to legitimate operations. Why B is Wrong: Data poisoning is an attack targeting AI/ML model training data integrity. It is relevant to securing AI systems but is not a DAST technique for testing web or software application security vulnerabilities during dynamic testing. Why D is Wrong: Threat modeling is a structured analysis process performed before development or testing to identify potential threats and design appropriate countermeasures. It is a planning activity, not an attack technique that can be automated during dynamic application security testing.
Question 63
A data set containing medical information is put into a machine learning (ML) model that is designed to predict specific illnesses for a population. In the process of verifying the reliability of the system, the compliance officer realizes that the system cannot reliably predict illnesses for certain segments of the population. Which of the following types of risk is most applicable to this case?
Correct Answer: A
Basic Concept: AI models trained on unrepresentative data can produce systematically inaccurate results for certain population groups. This is a form of algorithmic bias where the model ' s performance varies significantly across demographic segments, creating disparate outcomes. CompTIA SecAI+ Exam Objectives cover bias as a core AI governance and risk concept. Why A is Correct: Bias in AI occurs when a model produces systematically skewed results for certain groups due to biased training data, flawed data collection, or model design choices. In this healthcare scenario, the inability to reliably predict illnesses for specific population segments indicates the training data likely underrepresented those segments, causing the model to learn inadequate patterns for them. This is a critical bias risk with serious health equity implications. Why B is Wrong: Consistency refers to the model producing the same output given the same input across different runs or time periods. The problem described is not about inconsistent outputs for the same input but about systematically poor performance for specific population groups. Why C is Wrong: Transparency refers to openness about how the AI model operates, what data it uses, and how it makes decisions. The compliance officer has already assessed the system, suggesting sufficient transparency exists to identify the performance gap. Why D is Wrong: Inclusiveness is a design principle ensuring AI systems are designed to serve all users regardless of background. While related to the outcome, the specific risk type described - differential predictive accuracy across population segments - is most precisely categorized as bias.
Question 64
A security analyst is aware of an active penetration test in the environment. The analyst examines SIEM log data and notices the following AI system output: Which of the following is the vulnerability that has occurred and the control the analyst should implement?
Correct Answer: D
Basic Concept: AI systems can inadvertently reveal sensitive information such as PII, credentials, or internal data in their outputs when not properly controlled. Sensitive information disclosure is a critical OWASP LLM Top 10 risk. CompTIA SecAI+ Study Guide covers both vulnerability identification and appropriate data protection controls for AI outputs. Why D is Correct: The scenario describes the AI system outputting sensitive information in its responses, which is a sensitive information disclosure vulnerability. The appropriate control is masking, which replaces sensitive data values such as credit card numbers, SSNs, or API keys with redacted or tokenized equivalents in the model ' s outputs before they are returned to users. This prevents the AI from disclosing sensitive data while still providing useful responses. Why A is Wrong: Prompt injection involves crafting inputs to override model instructions. If the penetration test revealed sensitive information, the primary vulnerability is the disclosure of that sensitive data, not the injection mechanism itself. EDR monitors endpoint behavior, not AI output content. Why B is Wrong: Model hallucinations produce fabricated information rather than disclosing real sensitive data. The described scenario involves actual sensitive information being revealed, not fictitious content generation. Why C is Wrong: Jailbreaking circumvents safety restrictions but the primary harm demonstrated is sensitive data exposure. RBAC manages access permissions but does not prevent the model from including sensitive data in responses once access is granted. Why E is Wrong: Role impersonation involves the AI pretending to be a different entity. This may be a secondary technique used by the penetration tester but the primary vulnerability described is the disclosure of actual sensitive information in the output.
Question 65
Which of the following helps in managing potential security issues related to model training?
Correct Answer: A
The NIST AI RMF provides structured guidance for identifying, assessing, and managing risks specific to AI systems, including those arising during model training. It addresses issues like bias, security, and data integrity, making it the best framework for managing training-related security concerns.