Courseiva

CCNA AI Automation And Devsecops Questions

41 questions · AI Automation And Devsecops · All types, answers revealed

1
MCQeasy

Which aspect of AI-driven security automation helps in 'Reducing Mean Time to Respond (MTTR)'?

A.Updating hardware firmware
B.Automated data correlation
C.Reducing network latency
D.Increasing developer training
AnswerB

Speeds up incident triage.

Why this answer

By automating the collection and correlation of data, AI reduces the manual time analysts spend investigating.

2
MCQhard

You are designing an automated pipeline for Cisco Secure Firewall. If a deployment fails, which mechanism ensures the configuration is reverted to the last known good state?

A.Terraform state rollback
B.Manual CLI restore
C.FMC Factory Reset
D.Automated snapshot deletion
AnswerA

Manages configuration versioning and state.

Why this answer

Using Terraform 'state' management or Ansible 'check mode' allows for rollback or verification before committing changes, preventing broken states.

3
MCQmedium

You are implementing automated policy enforcement for Cisco Secure Access by Duo. Which API allows you to programmatically manage users and authentication settings?

A.Duo Web SDK
B.Duo Admin API
C.Duo Auth API
D.Duo Telemetry API
AnswerB

Allows for administrative automation.

Why this answer

The Duo Admin API is the standard for managing users, policies, and authentication programmatically.

4
MCQeasy

What is the primary role of a 'Security Policy Engine' (e.g., Cisco Secure Firewall) within an automated data center architecture?

A.Application load balancing
B.Centralized policy enforcement
C.Server virtualization
D.DNS resolution
AnswerB

Consistency is vital in automation.

Why this answer

To enforce consistent security policies automatically across physical and virtual workloads.

5
MCQhard

When automating security with Cisco XDR, which component allows for the execution of arbitrary scripts on third-party security tools?

A.Cisco XDR Workflow Engine
B.Cisco XDR Threat Intel module
C.Cisco XDR Telemetry API
D.Cisco XDR Dashboard
AnswerA

Allows custom script integration.

Why this answer

The 'Cisco XDR Workflow Engine' allows for custom python/javascript scripts to be executed during an orchestration sequence.

6
MCQhard

When designing an automated remediation workflow for Cisco Secure Firewall, what is the specific function of the 'Cisco Secure Firewall REST API' in the context of threat intelligence feeds?

A.Encryption key rotation
B.Automated firmware flashing
C.Traffic scrubbing
D.Dynamic update of Network Objects
AnswerD

Allows automation of IP blacklisting/whitelisting.

Why this answer

The API allows for dynamic injection of IP or Domain lists into 'Network Objects' which are used in policy rules.

7
Multi-Selecthard

Which THREE of the following are key AI/ML design considerations when selecting a security automation platform?

Select 3 answers
A.Number of employees on the vendor's team
B.Explainability and transparency (XAI)
C.API integration and extensibility
D.Local hardware GPU acceleration
E.Data quality and labeling
AnswersB, C, E

Necessary to understand why an alert was triggered.

Why this answer

Data quality, model transparency, and integration capabilities are critical for effective AI security.

8
MCQeasy

What is the primary benefit of 'Shift Left' security in a DevSecOps pipeline?

A.Automated hardware deployment
B.Increased development speed
C.Elimination of security teams
D.Reduced remediation costs
AnswerD

Early detection is cheaper than post-production fixes.

Why this answer

Shifting security to the beginning of the development cycle lowers remediation costs and reduces risk exposure.

9
MCQmedium

In an AI-enhanced security design, what is 'Supervised Learning' primarily used for?

A.Classification of malicious vs. benign data
B.Predicting hardware failure
C.Automated documentation generation
D.Unsupervised clustering of anomalies
AnswerA

Requires labeled training data.

Why this answer

Supervised learning models are trained on labeled datasets to classify new, incoming traffic or files as 'malicious' or 'benign'.

10
MCQmedium

In an AI-based security architecture, which data source provides the most value for training an ML model to detect unauthorized data exfiltration?

A.NetFlow/IPFIX logs
B.User password history
C.System process logs
D.DHCP lease logs
AnswerA

Metadata is the key to identifying exfiltration.

Why this answer

Flow logs (NetFlow/IPFIX) provide the metadata (source, destination, volume) required to detect exfiltration patterns.

11
MCQmedium

You are automating Cisco Secure Firewall policies. Why is 'Version Control' (e.g., Git) considered a security control?

A.Automatically encrypts all traffic
B.Increases bandwidth
C.Replaces the need for a firewall
D.Provides audit trails and change history
AnswerD

Accountability is a security requirement.

Why this answer

It provides a source of truth, audit trail, and the ability to revert unauthorized or malicious configuration changes.

12
Multi-Selectmedium

Which THREE of the following represent common challenges when implementing automated security in a legacy environment?

Select 3 answers
A.Cultural resistance to change
B.Too much documentation
C.Excessive API performance
D.Fragmented or inconsistent log data
E.Lack of native API support in legacy devices
AnswersA, D, E

People are often the biggest barrier.

Why this answer

Lack of APIs, fragmented data, and organizational resistance are common barriers.

13
Multi-Selecteasy

Which TWO of the following are common benefits of using API-based security automation?

Select 2 answers
A.Automatic removal of all vulnerabilities
B.Unlimited system memory
C.Consistent enforcement across infrastructure
D.Elimination of all human security analysts
E.Increased deployment speed
AnswersC, E

Reduces human error and configuration drift.

Why this answer

Increased speed and consistent enforcement are the two primary benefits.

14
MCQhard

For a DevSecOps pipeline involving Cisco Secure Firewall, what is the 'CI' (Continuous Integration) component responsible for?

A.User access authentication
B.Monitoring runtime attacks
C.Deploying to production
D.Validating and testing code changes
AnswerD

CI focuses on build/test verification.

Why this answer

CI is responsible for validating code/configuration changes, running automated tests, and building artifacts.

15
MCQhard

In a DevSecOps environment, you need to implement Cisco Secure Firewall Management Center (FMC) rule updates via Ansible. Which approach ensures the highest level of security and idempotency?

A.Manually updating via FMC UI then exporting JSON
B.Pushing configuration snapshots via SCP
C.Executing raw REST API calls via shell scripts
D.Utilizing the cisco.fmc Ansible collection
AnswerD

The collection provides idempotent modules for FMC management.

Why this answer

Using the 'cisco.fmc' Ansible collection with structured tasks ensures idempotency by checking the state before applying changes.

16
MCQmedium

When designing automated security for Cisco Secure Workload, what does 'Micro-segmentation' provide in the context of DevSecOps?

A.Increased server performance
B.Reduced lateral movement risk
C.Hardware redundancy
D.Database optimization
AnswerB

Containment is the goal of micro-segmentation.

Why this answer

It restricts lateral movement by only allowing necessary application communications, defined by code-based policies.

17
Multi-Selecthard

Which TWO of the following are benefits of using 'Infrastructure as Code' (IaC) with Cisco Secure Firewall?

Select 2 answers
A.Reduction of network bandwidth usage
B.Improved auditability of changes
C.Configuration consistency across environments
D.Elimination of the need for firewall policies
E.Automatic hardware repair
AnswersB, C

Git history provides the audit trail.

Why this answer

Consistency and auditability are the primary benefits of treating infrastructure as code.

18
MCQhard

When utilizing Cisco DevNet tools for security, which Python library is the standard for interacting with the Cisco FMC API efficiently?

A.requests_cisco
B.cisco_py
C.fmcapi
D.fmc_sdk
AnswerC

Simplifies interaction with the FMC REST API.

Why this answer

The 'fmcapi' library (a community-supported wrapper) is the industry standard for interacting with FMC in Python scripts.

19
Multi-Selecteasy

Which TWO of the following are common components of an AI-driven security operations center (SOC)?

Select 2 answers
A.Automated incident response playbooks
B.Manual daily log exporting
C.Word processing software
D.Physical surveillance cameras
E.User and Entity Behavior Analytics (UEBA)
AnswersA, E

Orchestrates the response.

Why this answer

Automated incident response and behavior analysis are central to AI-driven SOCs.

20
Multi-Selectmedium

Which THREE of the following technologies should be combined to create a 'Security-as-Code' pipeline for Cisco infrastructure?

Select 3 answers
A.Git (Version Control)
B.Physical console cables
C.Static Analysis (SAST) tools
D.Terraform or Ansible (Config Management)
E.Local SQL databases
AnswersA, C, D

Used for code/policy management.

Why this answer

Version control, configuration management, and vulnerability scanning are essential to the workflow.

21
MCQhard

You are automating the lifecycle of Cisco Secure Firewall policies. Which tool should be selected to integrate security policy as code (SaC) into a GitHub Actions pipeline?

A.Cisco DNA Center GUI
B.Python native sockets
C.HashiCorp Terraform
D.Cisco Defense Orchestrator Portal
AnswerC

Terraform supports the FMC provider for policy-as-code.

Why this answer

Terraform, specifically the 'cisco-fmc' provider, is the industry standard for managing Cisco security infrastructure as code.

22
MCQhard

Which component of Cisco XDR (formerly Cisco SecureX) is critical for normalizing data from different Cisco security products to enable automated orchestration?

A.Cloud-native storage
B.Local management agent
C.Unified Data Model
D.Packet inspection engine
AnswerC

Allows interoperability between products.

Why this answer

The 'Cisco XDR Unified Data Model' normalizes disparate logs into a standard format for correlation and automation.

23
MCQeasy

In DevSecOps, what is the role of an 'Artifact Repository' such as Artifactory in relation to security?

A.Store and secure immutable build artifacts
B.Manage user identities
C.Monitor real-time network traffic
D.Execute live security testing
AnswerA

Ensures integrity of the software supply chain.

Why this answer

Storing immutable, scanned, and signed artifacts ensures that the code deployed is exactly what was tested.

24
Multi-Selecthard

Which THREE of the following are best practices for securing a CI/CD pipeline itself?

Select 3 answers
A.Allow root access to all developers
B.Scan the pipeline code for vulnerabilities
C.Use isolated and ephemeral build runners
D.Use a secure secret management service
E.Use unencrypted communication channels
AnswersB, C, D

The pipeline itself is software.

Why this answer

Securing the runner, managing secrets, and scanning code are fundamental best practices.

25
MCQeasy

What is the primary function of an 'API Gateway' in a secure automated environment?

A.Host static websites
B.Store user data
C.Compile application code
D.Enforce security and rate limits on APIs
AnswerD

Protects back-end infrastructure.

Why this answer

The gateway acts as an enforcement point for authentication, rate-limiting, and logging for API calls.

26
MCQeasy

In the context of AI-driven security, what does 'False Positive Reduction' primarily achieve?

A.Increased hardware throughput
B.Improved analyst efficiency
C.Lower bandwidth consumption
D.Faster packet forwarding
AnswerB

Reduces time wasted on non-threats.

Why this answer

It minimizes unnecessary alerts, allowing security teams to focus on high-fidelity, real threats.

27
Multi-Selecthard

Which TWO of the following identify risks associated with using AI for security automation?

Select 2 answers
A.Faster network throughput
B.Too many security updates
C.Adversarial machine learning / poisoning
D.Increased hardware cost
E.Model drift (loss of accuracy over time)
AnswersC, E

Attackers can manipulate the training data.

Why this answer

Model drift and adversarial machine learning (data poisoning) are two major concerns.

28
MCQmedium

In a DevSecOps pipeline, what is the benefit of 'Static Application Security Testing' (SAST)?

A.Managing user passwords
B.Identifying vulnerabilities in source code
C.Encrypting data in transit
D.Monitoring live production traffic
AnswerB

Foundational part of early detection.

Why this answer

SAST analyzes source code for security vulnerabilities *without* executing the code, catching flaws early.

29
Multi-Selectmedium

Which THREE of the following are essential components of a robust DevSecOps security architecture for Cisco infrastructure?

Select 3 answers
A.Infrastructure as Code (IaC)
B.Manual Review Committees
C.Continuous Monitoring
D.Automated Testing
E.Isolated air-gapped networks
AnswersA, C, D

Allows repeatable and auditable deployments.

Why this answer

Infrastructure as Code, Automated Testing, and Continuous Monitoring are core pillars of DevSecOps.

30
Multi-Selectmedium

Which TWO of the following capabilities does Cisco Secure Firewall (FMC) provide to support automated security workflows?

Select 2 answers
A.Integration with external Threat Intel feeds
B.Native container orchestration
C.Automated code refactoring
D.On-board AI training engine
E.REST API for object and rule management
AnswersA, E

Allows dynamic policy updates based on intel.

Why this answer

The FMC REST API and the ability to integrate with external threat intelligence feeds are critical for automation.

31
MCQmedium

Which Cisco technology should be included in an automated design to ensure 'Zero Trust' access for remote developers accessing internal development servers?

A.Cisco Secure Access
B.Cisco Catalyst Center
C.Cisco IOS-XE
D.Cisco Webex
AnswerA

Enforces identity-based Zero Trust access.

Why this answer

Cisco Secure Access (or Duo with VPN) provides the identity-centric access control required for Zero Trust.

32
MCQeasy

Which of the following is a key requirement for implementing successful DevSecOps in a large organization?

A.Manual approval for every commit
B.Cultural alignment between teams
C.Removing all open-source code
D.Restricting code access to security only
AnswerB

Security must be a shared responsibility.

Why this answer

Cultural alignment between developers and security teams is the foundational requirement for successful DevSecOps.

33
MCQmedium

You are integrating Cisco Umbrella into a CI/CD pipeline. Which API is most appropriate for programmatically blocking domains discovered by your automated security scan?

A.Umbrella Provisioning API
B.Umbrella Reporting API
C.Umbrella Destinations API
D.Umbrella Log Management API
AnswerC

Used to add/remove domains in block lists.

Why this answer

The Umbrella 'Destinations API' allows for the automated management of destination lists (blocked domains).

34
MCQmedium

Which Cisco security solution utilizes AI-based 'Cognitive Intelligence' to detect threats in encrypted traffic without decrypting the payload?

A.Cisco Secure Firewall
B.Cisco Secure Cloud Analytics
C.Cisco Umbrella
D.Cisco Secure Email
AnswerB

Leverages Cognitive Intelligence for encrypted traffic analysis.

Why this answer

Cisco Secure Cloud Analytics (Stealthwatch) uses Cognitive Intelligence to analyze metadata and flow patterns in encrypted traffic.

35
Multi-Selectmedium

Which THREE of the following are key features of Cisco XDR (formerly SecureX) in an automated pipeline?

Select 3 answers
A.Workflow orchestration
B.Incident management and response
C.Threat intelligence aggregation
D.Automated server patching
E.Network packet capture hardware
AnswersA, B, C

Core component of the platform.

Why this answer

Orchestration, threat intelligence, and incident management are core XDR features.

36
Multi-Selectmedium

Which TWO of the following are true about 'Policy as Code' in Cisco security infrastructure?

Select 2 answers
A.Policies are stored in version control systems
B.Policies are always written in assembly language
C.Policies are automatically applied without review
D.Policies are only for cloud-native apps
E.Policies can be validated with automated tests
AnswersA, E

Essential for tracking changes.

Why this answer

It promotes version control and allows for automated testing of policies.

37
MCQhard

When designing a multi-cloud CI/CD security architecture, how should secrets (API keys for Cisco FMC) be managed to ensure compliance?

A.Embed as environment variables in the build runner
B.Encrypt with base64 and store in Git
C.Use a dedicated Secret Management service
D.Hardcode in the Terraform provider block
AnswerC

Ensures secrets are rotated and encrypted.

Why this answer

Secrets must be stored in a dedicated vault (like HashiCorp Vault or AWS Secrets Manager) and never in code repositories.

38
Multi-Selecthard

Which TWO of the following steps are required to integrate a security tool (like Cisco Secure Firewall) into a CI/CD pipeline?

Select 2 answers
A.Replace the existing firewall hardware
B.Hardcode credentials in the pipeline build file
C.Configure API authentication credentials
D.Disable all firewall rules for testing
E.Use an infrastructure provisioning tool
AnswersC, E

Necessary for secure automated access.

Why this answer

You need an authentication mechanism (API keys) and a deployment tool (Terraform/Ansible) to manage the infrastructure.

39
MCQhard

Which Cisco feature is specifically designed to prevent 'Credential Stuffing' in an automated application environment?

A.DNS Filtering
B.SSL Inspection
C.Adaptive Authentication
D.Intrusion Prevention System (IPS)
AnswerC

Uses context to identify suspicious logins.

Why this answer

Cisco Secure Access (Duo) Adaptive Authentication uses risk-based policies to detect and block credential stuffing.

40
MCQmedium

When designing an automated security policy deployment for Cisco Secure Workload (formerly Tetration), which mechanism allows you to test policies in a simulation environment before applying them to production?

A.Policy Analysis mode
B.Agentless vulnerability scanning
C.Workload isolation testing
D.Inventory change management
E.Live enforcement mode
AnswerA

This mode simulates the impact of policies on existing traffic patterns.

Why this answer

Cisco Secure Workload allows for 'Policy Simulation' or 'Policy Analysis' to validate the impact of rules before enforcement.

41
Multi-Selecthard

Which THREE of the following are considered 'Threat Response' automation actions in a Cisco XDR environment?

Select 3 answers
A.Sending a company-wide email
B.Blocking a malicious file hash
C.Rebooting the server hardware
D.Blocking a malicious URL
E.Isolating an infected host
AnswersB, D, E

Prevents malware spread.

Why this answer

Isolating an endpoint, blocking a file hash, and blocking a URL are common automated responses.

Ready to test yourself?

Try a timed practice session using only AI Automation And Devsecops questions.