Topic · 7 of 25 questions freeBasic AI concepts related to cybersecurity
Question 1Choose 1
Which of the following attacks is most enabled by AI-generated content?
Correct answer:
B. Phishing
Explanation :
Phishing is the attack most enabled by AI-generated content because generative AI eliminates the traditional indicators of fraud—poor grammar, awkward phrasing, and generic messaging. Attackers now use LLMs to craft highly personalized, grammatically flawless spear-phishing emails, SMS (smishing), and even voice deepfakes (vishing) at scale. AI enables threat actors to incorporate OSINT data (e.g., recent purchases, job titles, colleague names) to create contextually relevant lures that bypass spam filters and deceive even vigilant users. This dramatically increases engagement rates and makes Business Email Compromise (BEC) nearly indistinguishable from legitimate communications. AI-generated content transforms phishing from a noisy, low-success technique into a precision weapon, making it the most significantly amplified attack vector.
Why the other options are incorrect:
A. Model poisoning: This attack corrupts the ML training pipeline by injecting malicious data into the training set. While AI can assist in crafting inputs, the core enabler is access to the training infrastructure, not AI-generated content itself. AI does not fundamentally change the poisoning vector.
C. Ransomware: Ransomware encrypts files and demands payment. AI can assist in writing evasive code, but the primary enablers remain unpatched vulnerabilities, weak credentials, and phishing (which is the delivery mechanism). AI-generated content does not directly make encryption more effective.
D. Remote code execution (RCE): RCE exploits software vulnerabilities to execute arbitrary code. AI-generated code snippets may assist novice attackers, but the key driver is unpatched flaws or misconfigurations. AI-generated text does not inherently enable RCE.
References;
CompTIA SecAI+ CY0-001 Exam Objectives:Domain 2.1 (AI-Powered Cyberattacks – Generative AI for Social Engineering and Phishing).
CISA Insights (2023): Warns that generative AI dramatically lowers the barrier for sophisticated phishing and BEC campaigns.
Question 2Choose 1
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. Unsupervised learning
Explanation:
Unsupervised learning is the correct technique for building a clustering model with unlabeled data. Unsupervised learning algorithms are specifically designed to find hidden patterns, structures, or groupings within datasets that lack predefined labels or target variables. Clustering—including algorithms like K-Means, DBSCAN, and hierarchical clustering—is a core unsupervised learning task that groups similar data points based on feature similarity. The algorithm does not require labeled examples; it identifies natural clusters by minimizing intra-cluster variance and maximizing inter-cluster distance. This makes unsupervised learning ideal for exploratory data analysis, customer segmentation, anomaly detection, and pattern discovery where no ground truth labels exist.
Why the other options are incorrect:
A. Supervised learning: Supervised learning requires labeled data—each training sample must have a known output or target variable (e.g., classification labels or regression values). Since the data scientist is working with unlabeled data, supervised learning is not feasible for clustering.
B. Reinforcement learning: Reinforcement learning is a paradigm where an agent learns to make sequential decisions by receiving rewards or penalties through interaction with an environment. It is used for control problems, game-playing, and robotics—not for clustering unstructured datasets.
D. Semi-supervised learning: Semi-supervised learning uses a small amount of labeled data combined with a large amount of unlabeled data to improve model performance. While it can work with some unlabeled data, it still requires at least some labeled examples. The question explicitly states the data scientist is working with unlabeled data, making semi-supervised learning unsuitable.
References:
CompTIA SecAI+ CY0-001 Exam Objectives: Domain 1.1 (Data Science and AI Lifecycle – Machine Learning Types) and Domain 1.2 (AI Concepts – Unsupervised Learning).
Google ML Crash Course: Defines unsupervised learning as finding patterns in unlabeled data, with clustering as the primary task.
Question 3Choose 1
A large number of employees receive a video message in which the company's CEO states
that the company will be filing for bankruptcy. After an investigation, it was discovered that
the CEO did not send this message.
Which of the following is this scenario an example of?
Correct answer:
C. Deepfake
Explanation:
Deepfake is the correct classification for this scenario. A deepfake uses generative AI (e.g., GANs, diffusion models, or voice cloning algorithms) to create highly realistic but entirely synthetic audio, video, or image content that impersonates a real person—in this case, the CEO. The video message was fabricated to make it appear that the CEO stated the company would file for bankruptcy, causing panic among employees. Deepfakes are a growing threat because they bypass traditional verification methods and exploit human trust in audiovisual evidence. This specific attack is a form of synthetic media-based impersonation and is increasingly enabled by accessible generative AI tools.
Why the other options are incorrect:
A. On-path attack: An on-path attack (formerly man-in-the-middle) involves an attacker intercepting, relaying, or altering communications between two parties without their knowledge. This scenario does not describe interception of a live communication—it describes a fabricated video message distributed to employees. There is no indication of real-time traffic manipulation.
B. Phishing: Phishing is a social engineering attack that uses deceptive emails, texts, or websites to trick victims into revealing credentials, clicking malicious links, or transferring money. While this scenario has social engineering elements, the core mechanism is a synthetic video, not a deceptive message asking for action. Phishing typically involves text-based impersonation, not AI-generated video.
D. Social engineering: Social engineering is a broad category of psychological manipulation techniques used to trick individuals into divulging information or taking actions. While the deepfake video is a form of social engineering, the question asks for the specific example—and the defining characteristic is the AI-generated video content. Deepfake is more precise and directly describes the technology used.
References:
CompTIA SecAI+ CY0-001 Exam Objectives: Domain 2.1 (AI-Powered Cyberattacks – Deepfakes and Synthetic Media) and Domain 2.2 (Threats to AI Systems – Generative AI Misuse).
CISA: Warns of deepfake threats to organizations, including CEO impersonation for disinformation or financial fraud.
Question 4Choose 1
During a model validation procedure, an engineer notices that a model performs well during
training but poorly during testing.
Which of the following best describes the reason?
Correct answer:
B. Overfitting
Explanation:
Overfitting is the phenomenon where a model performs exceptionally well on training data but poorly on unseen test data. This occurs when the model learns not only the underlying patterns but also the noise, outliers, and random fluctuations specific to the training dataset. As a result, the model becomes overly complex and overly specialized to the training examples, losing its ability to generalize to new, unseen data. During testing, the model fails because it cannot apply its overly specific "memorized" patterns to data that differs even slightly from the training set. Common indicators of overfitting include a large gap between training accuracy and test accuracy, high variance, and poor cross-validation scores. Overfitting is a fundamental challenge in machine learning and is typically addressed through techniques such as cross-validation, regularization, early stopping, and increasing training data diversity.
Why the other options are incorrect:
A. Fine-tuning: Fine-tuning is a transfer learning technique where a pre-trained model is further trained on a smaller, domain-specific dataset to adapt it to a new task. It does not describe a performance discrepancy between training and testing—rather, it is a method used to improve performance on a specific domain.
C. Regularization: Regularization is a technique used to prevent overfitting by adding a penalty term to the loss function (e.g., L1/L2 regularization, dropout). It is a solution, not the problem itself. The scenario describes the problem, and regularization would be the corrective action.
D. Inference: Inference is the phase where a trained model makes predictions on new input data. It is the operational use of the model, not a reason for training-testing performance discrepancy.
References
CompTIA SecAI+ CY0-001 Exam Objectives: Domain 1.2 (AI Concepts – Model Training, Overfitting, and Generalization).
NIST AI RMF: Identifies overfitting as a risk to model reliability and trustworthiness.
.
Question 5Choose 1
Which of the following is used to train an AI model with unstructured data?
Correct answer:
B. Fine-tuning
Explanation:
Fine-tuning is the correct technique for training an AI model with unstructured data in the context of modern AI, particularly for large language models (LLMs). Fine-tuning takes a pre-trained foundation model (which has already been trained on massive, diverse datasets) and continues training it on a smaller, domain-specific dataset—which can be unstructured (e.g., text, images, audio). This process adapts the model's weights to specialize in a particular task or domain without requiring structured, labeled data from scratch. For example, a general-purpose LLM can be fine-tuned on a company's internal documents (unstructured text) to create a domain-specific chatbot. Fine-tuning is computationally efficient and leverages the model's existing knowledge, making it the preferred approach for unstructured data in production AI systems.
Why the other options are incorrect:
A. Statistical learning: Statistical learning is a broad category of mathematical methods for data analysis and pattern recognition. While it underpins many ML techniques, it is not a specific method for training with unstructured data. Traditional statistical learning often requires structured, tabular data.
C. Supervised learning: Supervised learning requires labeled data—each training sample must have a known output or target variable. Unstructured data like raw text or images is typically unlabeled; supervised learning cannot be directly applied without significant manual annotation, which is costly and time-consuming.
D. Reinforcement training: Reinforcement learning (RL) is a paradigm where an agent learns by interacting with an environment and receiving rewards or penalties. It is used for sequential decision-making problems (e.g., robotics, game-playing) and is not the standard approach for training on unstructured text or image data.
References:
CompTIA SecAI+ CY0-001 Exam Objectives: Domain 1.1 (Data Science and AI Lifecycle – Training and Fine-Tuning) and Domain 1.2 (AI Concepts – Transfer Learning and Foundation Models).
IBM and Google ML Guides: Define fine-tuning as the process of adapting pre-trained models to new, often unstructured datasets.
Question 6Choose 1
An AI security administrator notices that the information referenced by the model is
incorrectly formatted and missing values.
Which of the following job roles would most likely be responsible for correcting this error?
Correct answer:
C. Data engineer
Explanation
A data engineer is most likely responsible for correcting incorrectly formatted and missing values in the information referenced by the model. Data engineers are responsible for building, maintaining, and optimizing the data pipelines that ingest, transform, clean, and prepare data for AI models and downstream applications. When referenced data is incorrectly formatted (e.g., wrong date formats, inconsistent delimiters, encoding errors) or contains missing values (e.g., nulls, incomplete records), the data engineer's role is to implement data validation, data cleansing, ETL/ELT processes, and data quality checks to ensure that the data feeding the model is complete, consistent, and properly structured. This is a foundational responsibility in the AI lifecycle.
Why the other options are incorrect:
A. Platform engineer: A platform engineer focuses on the underlying infrastructure, containerization, orchestration (e.g., Kubernetes), and cloud provisioning. They ensure systems are running reliably but are not responsible for data quality, formatting, or content validation.
B. Machine learning operations (MLOps) engineer: An MLOps engineer manages the deployment, monitoring, scaling, and versioning of machine learning models in production. They track performance, manage CI/CD pipelines, and handle model drift—but they do not directly fix source data formatting or missing values. They may alert the data team to issues but are not responsible for data correction.
D. AI architect: An AI architect designs the overall AI system architecture, selects models, defines integration patterns, and establishes technical standards. They focus on high-level design and strategy, not on the day-to-day correction of data formatting and missing values in the reference data.
References
CompTIA SecAI+ CY0-001 Exam Objectives: Domain 1.1 (Data Science and AI Lifecycle – Data Roles and Responsibilities) and Domain 1.3 (AI Lifecycle – Data Preparation and Quality).
Question 7Choose 2
Which of the following describe the practice of providing examples in a prompt? (Choose
two.)
Correct answer:
E. One-shot
F. Multi-shot
Explanation:
One-shot and multi-shot are the two practices that describe providing examples within a prompt. These are in-context learning techniques where the model is given examples of the desired input-output format to guide its responses without requiring fine-tuning.
One-shot learning involves providing exactly one example in the prompt. For instance, you might show the model a single question-answer pair, instruction-response, or classification example, and then ask it to perform the same task on a new input. This helps the model understand the expected format and style with minimal guidance.
Multi-shot learning (also called few-shot learning) involves providing two or more examples in the prompt. This gives the model more context and pattern data, often improving accuracy and consistency. Multi-shot is particularly useful for complex tasks, formatting constraints, or domain-specific language.
Why the other options are incorrect:
A. User prompt: A user prompt is the input the end-user submits to the model. It is not a technique for providing examples—it is the actual query. The user may include examples, but "user prompt" itself does not describe the practice.
B. System prompt: A system prompt defines the model's role, behavior, and high-level instructions (e.g., "You are a cybersecurity expert"). It typically does not contain examples; it sets the operational context rather than demonstrating input-output pairs.
C. Prompt template: A prompt template is a predefined structure with placeholders for dynamic content (e.g., "Classify this text: {input}"). While templates may include examples, the term itself does not describe the practice of providing examples.
D. Quantization: Quantization is a model optimization technique that reduces numerical precision to improve inference speed and reduce memory footprint. It is entirely unrelated to providing examples in prompts.