Courseiva

CCNA AI Technologies And Controls Questions

75 of 76 questions · Page 1/2 · AI Technologies And Controls · Answers revealed

1
MCQhard

During an adversarial training cycle, you notice the model's accuracy on the validation set drops significantly despite high training accuracy. Which technique should you apply to mitigate potential model poisoning?

A.Increase the learning rate
B.Enable Model Versioning in MLflow
C.Implement Differential Privacy (DP-SGD)
D.Switch to a pre-trained Transformer architecture
AnswerC

DP-SGD reduces the influence of individual training points, neutralizing poisoning attempts.

Why this answer

Differential privacy helps ensure that the model does not memorize specific training data samples, which is a common target for poisoning attacks aimed at steering model output.

2
MCQeasy

What is the benefit of 'Versioning' your AI models in a production environment?

A.Reduces the size of the model file
B.Increases API speed
C.Automatically detects prompt injection
D.Enables rapid rollback to previous models
AnswerD

Rollback capability is a key requirement for resilience.

Why this answer

Versioning enables rapid rollback to a known good state if a new version is found to be insecure or perform poorly.

3
Multi-Selectmedium

Which TWO of the following are recommended when auditing an 'AI Model' for bias and fairness?

Select 2 answers
A.Measure performance metrics across subgroups
B.Remove all logging to maintain anonymity
C.Increase the number of layers in the model
D.Use the model for all possible use cases
E.Analyze the training data for representational imbalances
AnswersA, E

Disaggregated metrics reveal bias.

Why this answer

Auditing for fairness requires checking data representation and measuring model performance across different demographic subgroups.

4
MCQmedium

You are configuring private connectivity for an AI model using AWS PrivateLink. Which component is required to ensure that model inference traffic never traverses the public internet?

A.Internet Gateway (IGW)
B.Security Group ingress rule
C.VPC Interface Endpoint
D.NAT Gateway
AnswerC

Interface endpoints provide private access to service APIs without public IPs.

Why this answer

An interface VPC endpoint (AWS PrivateLink) allows private connectivity to SageMaker endpoints from within a VPC.

5
MCQmedium

You are implementing 'Red Teaming' for a Large Language Model (LLM). What is the main objective of this exercise?

A.Train the model on new, proprietary datasets
B.Reduce the cost of API inference
C.Proactively identify safety and security vulnerabilities
D.Increase the accuracy of the model's predictions
AnswerC

Red teaming is a simulation to discover weaknesses before deployment.

Why this answer

AI Red Teaming identifies vulnerabilities by actively attempting to exploit the model through adversarial prompts.

6
MCQhard

What is the role of 'Homomorphic Encryption' in secure AI? (Theoretical concept)

A.Detects malicious prompts
B.Manages API user identities
C.Compresses the model size
D.Allows computation on encrypted data
AnswerD

This provides the highest level of privacy for outsourced AI.

Why this answer

Homomorphic encryption allows computation on encrypted data, enabling a provider to train or run a model on data without ever decrypting it.

7
MCQmedium

You are managing a model's lifecycle in SageMaker. How do you ensure that only approved model versions are deployed to production?

A.Use manual file copying to the production server
B.Use 'SageMaker Model Registry' approval workflows
C.Delete all non-production model versions
D.Set every model version to 'Production' by default
AnswerB

Registry approval states prevent unauthorized deployment.

Why this answer

The SageMaker Model Registry allows for version tracking, metadata management, and approval states to control deployment.

8
MCQmedium

Which of the following is a 'Control' for mitigating the risk of 'Prompt Injection'?

A.Using a larger language model
B.Providing the agent with full root access
C.Disabling output validation
D.Sandboxed execution environment for agents
AnswerD

Sandboxing restricts the agent's ability to pivot or cause damage.

Why this answer

A 'Sandboxed Execution Environment' for agents prevents the AI from accessing the host file system or network, limiting the impact of an injection.

9
MCQeasy

Why is it important to perform 'Model Validation' before production deployment?

A.To automatically remove users from the system
B.To encrypt the model weights
C.To verify performance and safety against benchmarks
D.To reduce the cost of GPU hardware
AnswerC

Testing is crucial for quality and safety assurance.

Why this answer

Model validation ensures that the model meets performance and safety requirements, minimizing the risk of unexpected behavior.

10
MCQhard

Which technique is best suited to defend against 'Model Extraction' where an adversary queries a public API to build a clone of your proprietary model?

A.Enable data augmentation
B.Use a larger model architecture
C.Implement output perturbation
D.Rotate API tokens every 30 days
AnswerC

Output perturbation prevents exact response matching required for extraction.

Why this answer

Adding noise (differential privacy) to the outputs or rate-limiting makes the model's decision boundaries difficult to map precisely.

11
Multi-Selecthard

Which TWO techniques are effective for detecting and mitigating 'Model Inversion' attacks where an adversary attempts to reconstruct training data from model outputs?

Select 2 answers
A.Rate limiting and monitoring query frequency
B.Disabling all model API documentation
C.Increasing the precision of model output scores
D.Implementing differential privacy during training
E.Using larger batch sizes during inference
AnswersA, D

Prevents attackers from gathering sufficient output samples.

Why this answer

Model inversion is mitigated by reducing the information content of model outputs and limiting query volume.

12
MCQmedium

You are configuring Microsoft Defender for Cloud for an Azure OpenAI deployment. To detect prompt injection attempts effectively, which specific setting must be enabled in the 'Microsoft Defender for Cloud Apps' dashboard?

A.Set 'Log Analytics' retention to 365 days
B.Enable 'AI Security Posture Management' (AI-SPM)
C.Configure 'Conditional Access' policies for API keys
D.Enable 'Azure Policy' for resource tagging
AnswerB

AI-SPM is the designated feature set for identifying security configuration risks and anomalous activity in AI workloads.

Why this answer

Microsoft Defender for Cloud leverages 'AI Security Posture Management' to identify anomalous prompts that resemble injection patterns.

13
MCQmedium

You are using the Adversarial Robustness Toolbox (ART) to assess a classifier. Which attack technique would you simulate to test the model's vulnerability to 'Evasion' attacks?

A.Fast Gradient Sign Method (FGSM)
B.Membership Inference
C.Model Inversion
D.Data Poisoning via label flipping
AnswerA

FGSM is a standard evasion attack technique for testing classifier robustness.

Why this answer

The Fast Gradient Sign Method (FGSM) is a classic white-box attack technique used to test evasion vulnerability by introducing imperceptible noise.

14
MCQhard

In the context of poisoning attacks, which technique is most effective for detecting data contamination in an automated ML training pipeline?

A.Increasing training epochs
B.Differential Privacy
C.Model quantization
D.Statistical outlier detection on training feature sets
AnswerD

Poisoned data often introduces statistical anomalies that outlier detection can flag.

Why this answer

Outlier detection (or anomaly detection) is the primary mechanism to identify malicious, poisoned data points that deviate from the expected distribution of the training set.

15
MCQmedium

You are managing a model deployed in AWS SageMaker and observe drift in the ground truth data. Which SageMaker feature should be configured to automatically monitor and alert on this statistical deviation?

A.SageMaker Clarify for Bias Detection
B.SageMaker Feature Store
C.SageMaker Model Monitor
D.SageMaker Experiments
AnswerC

Model Monitor tracks data quality and drifts in production endpoints.

Why this answer

SageMaker Model Monitor is designed to detect data drift and concept drift by comparing real-time inference data against the baseline training statistics.

16
Multi-Selecteasy

Which THREE elements are essential components of an effective AI Incident Response Plan?

Select 3 answers
A.Procedures for model rollback or containment
B.Physical site evacuation protocols
C.Mandatory weekly patching of all OS kernels
D.Definition of AI-specific incident severity levels
E.Involvement of data scientists and AI model owners
AnswersA, D, E

Essential to stop a compromised model from producing bad output.

Why this answer

An AI-specific incident response plan must address the unique nature of AI, including specialized stakeholders and specific technical triggers.

17
MCQeasy

Which security principle is violated when an AI model is allowed to access external data sources without sufficient authorization checks on the data itself?

A.Broken Access Control
B.Model Poisoning
C.Model Inversion
D.Evasion Attack
AnswerA

The AI agent must adhere to the same authorization boundaries as the user.

Why this answer

Unauthorized data access via AI agents often results from 'Broken Access Control' where the AI inherits privileges it should not possess.

18
Multi-Selecthard

Which THREE security controls are essential for protecting the integrity of the AI model training supply chain?

Select 3 answers
A.Data provenance and lineage tracking
B.SBOM (Software Bill of Materials) analysis for dependencies
C.Hardening the physical security of the server room
D.Cryptographic signing of model artifacts
E.Increasing the number of neurons in the model
AnswersA, B, D

Verifies the authenticity and source of training data.

Why this answer

Supply chain security involves securing the training data, the model architecture, and the software dependencies.

19
MCQmedium

You are configuring Microsoft Defender for Cloud to monitor your Azure OpenAI service. Which specific resource diagnostic setting must be enabled to ensure that prompt injection attempts are logged in the Log Analytics workspace?

A.Enable 'AccessControl' logging in Entra ID
B.Enable 'RequestResponse' diagnostic logs for the AI resource
C.Enable 'MetricAlerts' at the subscription level
D.Enable 'AuditLogs' in the Storage Account settings
AnswerB

The RequestResponse category includes the prompt and completion data required for security analysis.

Why this answer

To detect security threats like prompt injection, you must enable diagnostic logging for the Azure OpenAI service specifically for the 'RequestResponse' category, which captures the interaction payload.

20
MCQhard

In the context of 'Adversarial Machine Learning', what is a 'Blind Spot' attack?

A.Exploiting low-confidence regions to force incorrect predictions
B.Bypassing authentication on the server
C.Increasing the training time of the model
D.Deleting the model's weights from memory
AnswerA

This targets the model's decision boundary limitations.

Why this answer

A blind spot attack exploits areas in the input space where the model's confidence is high, but its performance is actually incorrect due to poor training coverage.

21
MCQhard

Which of the following describes the purpose of 'Differential Privacy' in a machine learning system?

A.To enable cross-cloud model training
B.To prevent the identification of individuals in the training data
C.To allow for better interpretation of model layers
D.To ensure the model is faster at inference time
AnswerB

It protects individual privacy during model learning.

Why this answer

Differential privacy ensures that an individual's data cannot be inferred from the aggregate model output by injecting statistical noise during training.

22
MCQeasy

To prevent unauthorized access to an Amazon Bedrock model, which AWS service is the primary point of control for enforcing 'Least Privilege' at the API layer?

A.AWS IAM
B.AWS Glue
C.AWS CloudFront
D.Amazon S3
AnswerA

IAM policies manage which users or services can invoke specific Bedrock models.

Why this answer

AWS IAM (Identity and Access Management) is the primary tool for defining permissions for Bedrock API operations.

23
MCQmedium

You are managing a PyTorch model and suspect data poisoning during the training phase. Which practice is the most effective technical control to verify training data integrity in an MLOps pipeline?

A.Increasing model quantization
B.Reducing the number of training epochs
C.Enabling 'Multi-Factor Authentication' on the training cluster
D.Implementing 'Data Lineage' with checksum validation
AnswerD

Checksums verify data integrity from storage to training ingestion.

Why this answer

Data lineage and cryptographic hashing ensure that the training dataset has not been altered maliciously.

24
Multi-Selectmedium

Which TWO of the following are risks associated with using public pre-trained models without further security validation?

Select 2 answers
A.Improved model interpretability
B.Reduced inference latency compared to custom models
C.Automatic hardware acceleration
D.Hidden backdoors injected into the model weights
E.Legal and compliance risks from unlicensed training data
AnswersD, E

Malicious actors can embed triggers in public models.

Why this answer

Public models may contain hidden backdoors (poisoning) or have been trained on sensitive/copyrighted data that could cause legal or compliance issues.

25
MCQmedium

Which tool is best for managing 'Secrets' (like database passwords or API keys) used by your AI training pipeline?

A.Hardcoded variables in the training script
B.A public Github repository
C.An Excel spreadsheet on a shared drive
D.HashiCorp Vault
AnswerD

Vault provides centralized, secure secret management.

Why this answer

Secrets management services (AWS Secrets Manager, HashiCorp Vault) are the secure way to manage credentials.

26
MCQmedium

When using a 'Managed AI API' service, what is the best practice for handling API keys?

A.Hardcode keys in the application source code
B.Email keys to team members for easy access
C.Embed keys in the public Git repository
D.Store keys in a secure Secrets Manager
AnswerD

Secrets management is the industry standard for credential protection.

Why this answer

API keys should never be hardcoded; they should be stored in secrets managers like AWS Secrets Manager or Azure Key Vault.

27
MCQmedium

You are configuring AWS Bedrock Guardrails to prevent the model from returning PII. Which specific configuration setting should be enabled to ensure PII filtering is applied to both prompt and response?

A.Use the prompt engineering instruction 'Do not output PII' in the System Prompt field.
B.Set the content moderation filter level to 'High' in the model configuration.
C.Apply an IAM policy to the Bedrock execution role restricting access to PII-containing datasets.
D.Enable PII filtering in the Policy Settings for both 'input' and 'output' content flows.
AnswerD

Correct configuration for bidirectional PII filtering in Bedrock Guardrails.

Why this answer

AWS Bedrock Guardrails allow for PII entity redaction or blocking; the configuration must be set to filter both incoming prompts and outgoing model responses to ensure comprehensive protection.

28
MCQhard

Which of the following is an example of an 'Evasion' attack on a computer vision model?

A.Intercepting training data packets
B.Adding adversarial noise to input images
C.Changing the model's learning rate
D.Brute forcing the administrator password
AnswerB

Adversarial noise targets the model's inference logic.

Why this answer

Adding adversarial noise to an image (e.g., a sticker) causes the model to misclassify it, which is the definition of evasion.

29
Multi-Selecthard

Which THREE of the following are technical controls to prevent 'Model Extraction' attacks?

Select 3 answers
A.API Rate Limiting
B.Output perturbation (e.g., adding noise)
C.Increasing the model learning rate
D.Reducing output detail/granularity
E.Providing all intermediate model outputs
AnswersA, B, D

Limits the volume of queries available to reconstruct the model.

Why this answer

Model extraction is mitigated by rate limiting, output perturbation (noise), and limiting the detail/granularity of the output returned to the API.

30
MCQmedium

You detect an unusual spike in API calls that are clearly non-human. What is the most effective way to address this without completely blocking the service?

A.Increase the model latency
B.Implement a bot detection challenge (e.g., CAPTCHA)
C.Publicly release the model weights
D.Shutdown the entire API service
AnswerB

This differentiates bots from legitimate users.

Why this answer

Implementing a CAPTCHA or sophisticated WAF challenge for high-volume users is a standard way to differentiate human traffic from bots.

31
MCQhard

When utilizing the 'Adversarial Robustness Toolbox' (ART) to defend against evasion attacks, which attack type is specifically mitigated by using 'Adversarial Training'?

A.Evasion attacks
B.Model Inversion attacks
C.Model Theft attacks
D.Supply Chain attacks
AnswerA

Adversarial training directly hardens models against adversarial examples crafted for evasion.

Why this answer

Adversarial training involves augmenting the training set with adversarial examples, hardening the model against evasion (inference-time) attacks.

32
MCQeasy

Which of the following is a 'Human-in-the-Loop' (HITL) control used for AI risk management?

A.Using only open-source libraries
B.Requiring human approval for high-risk model outputs
C.Deploying the model to a public server
D.Automating all model output without review
AnswerB

This provides a safety check for critical decisions.

Why this answer

HITL involves human review of model decisions before they are finalized or acted upon, especially for high-stakes decisions.

33
MCQhard

You are auditing an AI system for compliance with the EU AI Act. Which control is mandatory for 'High-Risk' AI systems to ensure transparency for human oversight?

A.Human-in-the-loop design and logging
B.Automated decision-making without oversight
C.Mandatory anonymization of all input data
D.Exclusive use of proprietary datasets
AnswerA

Mandatory requirement for high-risk AI to allow human intervention and auditing.

Why this answer

The EU AI Act requires that high-risk systems be designed with human-in-the-loop (HITL) capabilities and adequate logging to ensure transparency and accountability.

34
MCQhard

Your organization uses Azure OpenAI. You need to ensure that no sensitive data (e.g., credit card numbers) is sent to the model. Which specific service feature should be enabled to intercept and mask this data?

A.Azure OpenAI Content Safety
B.Azure Active Directory
C.Azure Monitor
D.Azure Key Vault
AnswerA

Content Safety provides real-time PII detection and masking for inputs.

Why this answer

Azure OpenAI Content Safety provides text filtering and PII masking.

35
MCQeasy

What is the primary role of 'Data Encryption at Rest' for AI datasets?

A.Increase the training speed of the model
B.Protect data from unauthorized access on storage media
C.Detect potential poisoning attacks
D.Automatically patch model software
AnswerB

Encryption is the primary control for storage security.

Why this answer

Encryption at rest ensures that even if the storage media is stolen or accessed unauthorized, the data remains unreadable.

36
MCQmedium

When evaluating AI security, 'Model Drift' refers to performance degradation over time. Which tool would a practitioner use to detect drift in a production environment?

A.AWS Config
B.Amazon SageMaker Model Monitor
C.Amazon GuardDuty
D.AWS CloudTrail
AnswerB

SageMaker Model Monitor identifies drift by comparing live data to training data.

Why this answer

Model monitoring tools track statistical properties of features and predictions to identify drift.

37
MCQmedium

You are configuring a 'Firewall' for an AI API. Which rule should you prioritize to prevent unauthorized exfiltration of model training data?

A.Disable all firewall logging
B.Configure strict egress (outbound) traffic rules
C.Increase the number of API endpoints
D.Allow all outbound traffic to the internet
AnswerB

Limiting outbound traffic is essential to stop exfiltration.

Why this answer

Egress filtering (outbound rules) ensures that the model environment cannot communicate with unauthorized external servers, preventing data exfiltration.

38
Multi-Selectmedium

Which TWO of the following are primary security controls for preventing 'Model Inversion' attacks where an adversary attempts to reconstruct training data from model outputs?

Select 2 answers
A.Setting 'API Rate Limits'
B.Implementing 'Differential Privacy' during training
C.Applying 'Output Perturbation' to model predictions
D.Enabling 'VPC Service Controls'
E.Using 'Hardware Security Modules' (HSM)
AnswersB, C

Differential privacy mathematically bounds the influence of individual data points.

Why this answer

Differential privacy and output perturbation are the standard methods to reduce the probability of sensitive data leakage through inference queries.

39
MCQhard

An organization is using Google Cloud Vertex AI and suspects an adversarial poisoning attack on a custom training dataset. Which tool should be used to verify the integrity and provenance of the training artifacts?

A.Vertex AI Pipelines caching
B.Cloud Data Loss Prevention (DLP) API
C.Cloud Armor WAF
D.Vertex AI ML Metadata
AnswerD

Provides tracking for artifacts and lineage, essential for identifying injected malicious training data.

Why this answer

Vertex AI Model Garden and Metadata are used for lineage tracking, but specifically for provenance and audit, the Vertex AI ML Metadata service allows tracking of dataset versions and training pipeline execution history.

40
MCQmedium

When an AI model is suspected of being involved in a security incident, what is the first step in the incident response process?

A.Retrain the model on new data
B.Delete the model weights
C.Isolate the model endpoint from the network
D.Update the documentation
AnswerC

Containment is standard practice for incident response.

Why this answer

Isolation is the first step to prevent further damage or exfiltration of sensitive data.

41
MCQhard

When implementing Google Cloud's 'Vertex AI' model guardrails, you need to prevent the leakage of PII in model outputs. Which configuration tool is used to enforce these constraints at the request/response level?

A.Vertex AI 'Feature Store' access control
B.Vertex AI 'Safety Settings' filters
C.Vertex AI 'Model Registry' IAM roles
D.Vertex AI 'Pipeline' execution logs
AnswerB

These filters allow developers to set threshold levels for various categories of sensitive content.

Why this answer

The Vertex AI 'Safety Settings' and 'Content filtering' allow practitioners to define thresholds for harassment, hate speech, and PII leakage.

42
Multi-Selectmedium

Which TWO actions should be taken to enforce Least Privilege access for developers interacting with SageMaker Model Monitor?

Select 2 answers
A.Allow all 'iam:PassRole' actions
B.Restrict access to the 'sagemaker:CreateModelMonitor' action
C.Grant s3:PutObject on the bucket containing baseline data
D.Assign the 'SageMakerFullAccess' managed policy
E.Enable root access to the underlying EC2 instance
AnswersB, C

Limiting this action prevents unauthorized creation of monitoring jobs.

Why this answer

Access to Model Monitor requires permissions to both the infrastructure (S3) and the specific model monitoring job definitions.

43
MCQeasy

In the context of AI governance, what is the primary role of a 'Model Card'?

A.Provide transparency on model capabilities and limitations
B.Grant IAM access to the model file
C.Enable encryption for the model weights
D.Automatically patch the model software
AnswerA

Model Cards are essential for ethical AI and transparency.

Why this answer

A Model Card is a documentation artifact that provides transparency into the model's intended use, limitations, and training data.

44
MCQeasy

What is the purpose of 'Model Signing' in an MLOps pipeline?

A.To ensure model integrity and non-repudiation
B.To encrypt the model weights at rest
C.To restrict access to the model registry
D.To increase inference speed
AnswerA

Signing proves the model's origin and that it remains unaltered.

Why this answer

Model signing uses digital signatures to verify that the model artifact has not been tampered with between the training environment and the production environment.

45
MCQmedium

What is the primary function of an 'AI Firewall' or 'LLM Gateway' in an enterprise AI architecture?

A.To intercept and filter prompts and responses
B.To optimize the GPU utilization of the model
C.To store model weights in a secure archive
D.To automate the labeling of training data
AnswerA

Gateways provide central control over AI interactions.

Why this answer

An LLM gateway acts as a proxy to enforce security policies, redact PII, and prevent prompt injection before requests reach the model.

46
MCQeasy

An AI administrator is using Azure AI Content Safety to detect jailbreak attempts in prompt engineering. Which configuration must be enabled to proactively block prompt injection attacks?

A.Configure Prompt Shield
B.Apply Customer Managed Keys (CMK)
C.Enable Protected Material Detection
D.Implement Jailbreak Mitigation via Language Detection
AnswerA

Prompt Shield is the designated control for blocking jailbreak and prompt injection attempts.

Why this answer

The Prompt Shield feature in Azure AI Content Safety specifically targets user-to-model prompt injection and jailbreak attacks.

47
MCQeasy

An organization uses IBM watsonx.ai to manage model governance. Which tool is primarily used to track 'FactSheets' for model lineage and auditability?

A.AutoAI Experiment Tracker
B.Pipeline Orchestrator
C.FactSheets
D.Model Risk Management (MRM) dashboard
AnswerC

FactSheets in watsonx.ai are the standard tool for recording model metadata and lineage.

Why this answer

The IBM watsonx.ai Governance module uses FactSheets to automatically capture and document the lifecycle, lineage, and validation status of models.

48
MCQmedium

You are reviewing logs for an AI service. You notice a high frequency of '429 Too Many Requests' errors. Which security control is likely being triggered to protect the model from potential automated extraction or DoS?

A.Model Drift Monitoring
B.Data Encryption at Rest
C.Input Sanitization
D.API Rate Limiting
AnswerD

Rate limiting restricts the volume of requests a client can make.

Why this answer

Rate limiting is a standard control to prevent resource exhaustion and model scraping.

49
Multi-Selecthard

You are auditing access controls for a Microsoft Azure OpenAI deployment. Which TWO of the following configurations are required to ensure identity-based access and logging for model inference?

Select 2 answers
A.Enable the 'Prompt Injection' toggle in the Azure Portal global settings.
B.Enable 'Diagnostic settings' to route logs to a Log Analytics workspace.
C.Assign RBAC role 'Cognitive Services OpenAI User' to the service principal.
D.Create a shared API key for all users to simplify service account management.
E.Set the model to 'Public Access' in the Networking tab for easier debugging.
AnswersB, C

Required for centralized logging and security auditing.

Why this answer

Azure OpenAI requires Entra ID (Azure AD) for authentication and Azure Monitor/Log Analytics for auditing request/response patterns.

50
MCQhard

What is 'Model Stealing' and why is it considered a security incident?

A.It is the theft of intellectual property via query analysis
B.It is the slow down of the model due to heavy load
C.It is the unauthorized access to the server room
D.It is the accidental deletion of model files
AnswerA

Stealing a model's decision function undermines its competitive value.

Why this answer

Model stealing involves querying a model to extract enough information to replicate its functionality, leading to the loss of proprietary intellectual property.

51
Multi-Selectmedium

Which TWO of the following are effective methods for monitoring and detecting AI security incidents in a cloud environment?

Select 2 answers
A.Disabling logging to reduce cloud spend
B.Using standard database backup schedules
C.Ingesting model inference logs into a SIEM
D.Hardcoding API credentials in application code
E.Configuring anomaly detection for API call patterns
AnswersC, E

SIEM integration allows for correlation of AI events with other security signals.

Why this answer

Centralized logging (e.g., CloudWatch, Azure Monitor) and anomaly detection are critical for identifying unexpected model interactions.

52
MCQeasy

When training an AI model, why is it critical to ensure 'Data Provenance'?

A.To verify the source and integrity of training data
B.To reduce the storage space of datasets
C.To automatically remove PII from datasets
D.To optimize the training speed of the model
AnswerA

Provenance is foundational to data supply chain security.

Why this answer

Data provenance allows auditors to trace the origin of data, ensuring no poisoned or copyrighted data entered the training pipeline.

53
MCQeasy

What is the primary function of 'IAM' in an AI-driven cloud environment?

A.Monitor the health of GPU clusters
B.Automate data cleaning tasks
C.Manage identities and access to resources
D.Increase the training speed of models
AnswerC

IAM provides the foundation for Least Privilege.

Why this answer

IAM (Identity and Access Management) manages who can perform which actions on which resources (e.g., who can invoke a model).

54
MCQmedium

You need to ensure that a model deployed on AWS ECS is only accessible by authorized microservices. What is the most appropriate network security control?

A.Increase the container memory limit
B.Use AWS Security Groups
C.Enable AWS WAF for all internal traffic
D.Use public routing for all endpoints
AnswerB

Security Groups enforce network-level access control for container instances.

Why this answer

Security Groups provide stateful packet filtering for ECS containers, restricting who can communicate with the model endpoint.

55
MCQhard

When a model exhibits 'Hallucinations', what is the best strategy to improve its groundedness and security?

A.Implement Retrieval-Augmented Generation (RAG)
B.Restrict access to the model to root users only
C.Disable logging to hide hallucinations
D.Increase the model's training data volume
AnswerA

RAG provides a source of truth for the model to reference.

Why this answer

RAG (Retrieval-Augmented Generation) forces the model to base its answers on specific, provided documents, reducing hallucination risks.

56
Multi-Selecthard

When securing an AI-driven chatbot, which THREE of the following are recommended practices to mitigate 'Prompt Injection' vulnerabilities?

Select 3 answers
A.Perform input sanitization on all user-submitted text
B.Use system messages to enforce strict context boundaries
C.Store model training data in plaintext
D.Deploy a 'Refusal' layer for unexpected system-level queries
E.Increase the model's temperature parameter
AnswersA, B, D

Sanitization removes characters or patterns used in injection attacks.

Why this answer

The primary defenses involve rigorous input validation, context separation between instructions and data, and using specialized output filters.

57
MCQmedium

You are securing a PyTorch model and want to implement differential privacy to protect the training data. Which library is specifically designed to work with PyTorch for this purpose?

A.TensorFlow Privacy
B.Hugging Face Evaluate
C.Adversarial Robustness Toolbox (ART)
D.Opacus
AnswerD

Opacus is the standard privacy library for PyTorch.

Why this answer

Opacus is the official PyTorch library for training models with differential privacy.

58
MCQeasy

What is the purpose of 'Logging' in an AI system?

A.To prevent unauthorized access to the server
B.To provide an audit trail for incident investigation
C.To encrypt data at rest
D.To compress the model for faster deployment
AnswerB

Comprehensive logging is required for security forensics.

Why this answer

Logging provides the audit trail necessary to investigate security incidents and understand how the system reached a specific output.

59
MCQeasy

What is the goal of 'Data Sanitization' before training?

A.Change the file format of the dataset
B.Reduce the cloud storage costs
C.Remove PII and malicious data from the training set
D.Increase the number of images in the dataset
AnswerC

This protects against data leakage and poisoning.

Why this answer

Data sanitization removes sensitive information (PII/PHI) and malicious patterns, ensuring that the model does not learn or leak private info.

60
Multi-Selecthard

Which THREE of the following are potential indicators of a 'Model Poisoning' attack occurring during the training phase?

Select 3 answers
A.Increased latency for API requests
B.Inconsistent model convergence during training
C.High accuracy on training set but poor accuracy on validation set
D.Increase in storage costs for the model weights
E.Unexpected behavior when specific input triggers are present
AnswersB, C, E

Corrupted data often prevents smooth convergence.

Why this answer

Poisoning often results in degraded accuracy for specific targets (backdoors) or broader performance degradation that is detectable through validation testing.

61
MCQeasy

When securing a large language model (LLM) using the OWASP Top 10 for LLMs, which control is most effective against 'Insecure Output Handling'?

A.Using fine-grained RBAC
B.Implementing Rate Limiting
C.Encrypting training data
D.Enforcing strict output validation and sanitization
AnswerD

Sanitizing model output before downstream execution prevents cross-site scripting or code injection.

Why this answer

Insecure Output Handling occurs when a model output is interpreted by a downstream system without sanitization. Output validation (canonicalization) is the primary defense.

62
Multi-Selectmedium

Which THREE of the following are common steps in an 'AI Incident Response Plan'?

Select 3 answers
A.Containment of the affected AI model
B.Increasing the model's inference speed
C.Eradication of the threat source
D.Replacing all hardware in the data center
E.Identification and classification of the AI incident
AnswersA, C, E

Stopping the impact is essential.

Why this answer

Incident response involves identification (detection), containment (isolation), and eradication/recovery, followed by post-incident learning.

63
Multi-Selectmedium

Which THREE of the following are effective ways to secure the 'ML Pipeline' (MLOps) against supply chain attacks?

Select 3 answers
A.Use isolated environments for pipeline stages
B.Cryptographically sign all container images
C.Disable all CI/CD pipeline logging
D.Always run the pipeline as a root user
E.Scan third-party libraries for vulnerabilities
AnswersA, B, E

Isolation prevents lateral movement.

Why this answer

Securing the pipeline involves code signing, scanning dependencies for vulnerabilities, and using isolated container environments.

64
MCQhard

Which cryptographic tool is used to ensure the authenticity of a model file stored in an S3 bucket?

A.Data masking
B.Model quantization
C.Digital signatures
D.Base64 encoding
AnswerC

Signatures provide integrity and authenticity verification.

Why this answer

Digital signatures (using tools like Cosign or AWS KMS) verify that the model has not been tampered with since being signed.

65
MCQhard

What is the 'Membership Inference' attack in machine learning?

A.Brute forcing the user password
B.Determining if a specific record was in the training set
C.Adding noise to the output
D.Stealing the model's entire weights file
AnswerB

This exploits the model's tendency to memorize training samples.

Why this answer

This attack determines whether a specific data point was included in the training set, potentially compromising privacy if the data is sensitive.

66
MCQeasy

What is the primary risk associated with 'Shadow AI' in an organization?

A.Lower cloud costs
B.Increased model accuracy
C.Faster code development
D.Unmonitored data leakage and compliance risk
AnswerD

Lack of oversight is the core risk of shadow IT.

Why this answer

Shadow AI refers to the use of AI tools without IT or security oversight, leading to data leaks and compliance violations.

67
MCQhard

An AI Security analyst is configuring Google Cloud Vertex AI Model Garden to ensure compliance with organization policies. Which IAM permission is strictly required to prevent unauthorized users from deploying a base model to a public endpoint?

A.aiplatform.metadata.read
B.aiplatform.jobs.create
C.aiplatform.endpoints.create
D.aiplatform.models.upload
AnswerC

This permission controls the creation of endpoints, which is where public/private visibility is defined.

Why this answer

The roles/aiplatform.user role allows usage, but 'aiplatform.endpoints.create' or specific restrictions on the Endpoint resource are needed to prevent public exposure.

68
MCQmedium

When reviewing an AI architecture, what does the 'Attack Surface' refer to?

A.The speed of the model's inference
B.The number of users allowed to access the system
C.The memory usage of the model during training
D.The set of points where an attacker can interact with the system
AnswerD

Reducing this surface is a core security objective.

Why this answer

The attack surface includes all points where an adversary can enter or extract data from the system, including API endpoints and training interfaces.

69
MCQhard

To monitor for AI security incidents, you are integrating logs from an AI gateway into a SIEM. Which specific field in the request log is most critical for detecting 'Model Denial of Wallet' attacks?

A.usage.total_tokens
B.latency_ms
C.request_ip_address
D.model_id
AnswerA

Token count directly correlates to billing and consumption.

Why this answer

Denial of Wallet attacks involve high-cost, high-token-count requests. Monitoring the 'usage.total_tokens' or 'billing_tokens' field is critical for identifying this behavior.

70
Multi-Selectmedium

Which THREE of the following are examples of AI system 'Access Controls'?

Select 3 answers
A.Disabling logging services
B.API Key authentication
C.Role-Based Access Control (RBAC)
D.Network Security Groups
E.Increasing model training epochs
AnswersB, C, D

API keys authorize the caller to use the service.

Why this answer

Access controls include authentication (IAM), network restrictions (VPC/Security Groups), and fine-grained permissions for API operations.

71
Multi-Selectmedium

Which TWO of the following are essential components of an 'AI Security Policy' in an enterprise?

Select 2 answers
A.Requirement to use only proprietary AI models
B.Definition of hardware refresh cycles for data centers
C.Mandatory security and red-teaming testing for high-risk models
D.Definition of authorized and prohibited AI use cases
E.Requirement to disable all audit logs to protect privacy
AnswersC, D

Validation is a required security activity.

Why this answer

A robust policy must define acceptable use cases and mandate security testing (like red teaming) for all AI assets.

72
MCQmedium

To mitigate adversarial evasion attacks against a vision model, you decide to implement defensive distillation on your TensorFlow model. What is the primary operational trade-off you must evaluate?

A.Requirement for GPU-based training clusters only
B.Incompatibility with gradient-based optimizers
C.Reduced model sensitivity to noise and potential drop in clean accuracy
D.Increased latency in inference requests
AnswerC

Distillation smooths the gradient surface, which makes it harder for attackers but can impact general prediction accuracy.

Why this answer

Defensive distillation increases the model's robustness against small adversarial perturbations but can lead to reduced accuracy on clean data or increased training complexity.

73
MCQhard

In the context of 'Model Poisoning', what is a 'Backdoor' attack?

A.Deleting the model's training documentation
B.Increasing the model's complexity
C.Embedded trigger causing specific model behavior
D.Bypassing authentication servers
AnswerC

The trigger activates the malicious function.

Why this answer

A backdoor is a trigger (a specific pattern) embedded into the model during training so that it behaves normally until the trigger is present, at which point it performs a malicious action.

74
Multi-Selecteasy

Which TWO steps are recommended to secure access to an AI model registry?

Select 2 answers
A.Store registry credentials in plain text configuration files
B.Implement Role-Based Access Control (RBAC)
C.Disable audit logging to reduce storage costs
D.Enforce Multi-Factor Authentication (MFA)
E.Allow 'Public' access for all users to promote model sharing
AnswersB, D

Limits model access to authorized users and service accounts.

Why this answer

Access control for registries should follow the principle of least privilege and use identity federation.

75
Multi-Selectmedium

Which THREE strategies are effective for defending against model poisoning in an ML pipeline?

Select 3 answers
A.Implementing model validation against a clean, golden dataset
B.Increasing the model's learning rate to 'burn off' poison
C.Regularly changing the model's activation functions
D.Data sanitization and outlier detection
E.Using robust aggregation methods (e.g., Krum, Median)
AnswersA, D, E

Helps verify if the model has learned the desired patterns.

Why this answer

Defending against poisoning requires cleaning the training data and using robust learning algorithms.

Page 1 of 2 · 76 questions totalNext →

Ready to test yourself?

Try a timed practice session using only AI Technologies And Controls questions.