Courseiva

CCNA Network Security Questions

71 questions · Network Security topic · All types, answers revealed

1
Multi-Selectmedium

Which TWO of the following are components of a URL? (Choose two)

Select 2 answers
A.Protocol (e.g., https)
B.The local machine's IP address
C.The server's physical CPU type
D.Host/Domain name
E.The user's password
AnswersA, D

Mandatory for REST calls.

Why this answer

A URL typically includes the protocol (e.g., HTTPS) and the host/domain name.

2
MCQmedium

When automating Cisco Stealthwatch (Secure Network Analytics) alerts, which API endpoint is used to query flow data?

A./inventory/v1/devices
B./sw-reporting/v1/flows
C./api/v1/firewall
D./analytics/v1/alerts
AnswerB

This is the correct endpoint for flow-based data queries.

Why this answer

The Stealthwatch API provides specific endpoints under '/sw-reporting/v1/' for flow data retrieval.

3
MCQhard

You are implementing automated log retrieval from Cisco ASA using the REST API. What is the limitation of the 'get_logs' endpoint?

A.It requires an active VPN session.
B.It only supports XML format.
C.It is intended for management, not high-volume log streaming.
D.It does not support real-time logs.
AnswerC

Using REST API for logs is inefficient compared to syslog/SIEM.

Why this answer

The ASA REST API is limited in how much logging data it can stream; it is not designed for bulk historical log aggregation.

4
Multi-Selectmedium

Which THREE of the following are mandatory components of an HTTP REST request? (Choose three)

Select 3 answers
A.Target URL/URI
B.HTTP Method (GET, POST, etc.)
C.Request Body
D.Request Headers
E.Database Password
AnswersA, B, D

Mandatory to specify the endpoint.

Why this answer

A valid HTTP request must include the method, the destination URL, and appropriate headers.

5
Multi-Selecthard

Which TWO of the following steps are involved in the Cisco Firepower API authentication workflow? (Choose two)

Select 2 answers
A.Restarting the FMC services
B.Extracting the 'X-Auth-Access-Token' from the response
C.Sending a DELETE request to clear the cache
D.Configuring an SNMP v3 trap
E.Sending a POST request to the authentication endpoint with credentials
AnswersB, E

This token is used for all subsequent calls.

Why this answer

The workflow involves sending credentials to the authentication endpoint and capturing the returned access token.

6
MCQhard

You are performing a bulk update of Security Group Tags (SGTs) in Cisco ISE. Which mechanism should you prioritize to minimize load on the API when processing thousands of tags?

A.Iterative single-POST requests
B.ISE ERS Batch API endpoints
C.pxGrid streaming
D.Direct SQL injection to the ISE DB
AnswerB

The Batch API allows processing multiple resource updates in a single request.

Why this answer

Using the bulk API endpoints or ERS (External RESTful Services) with batch processing is the correct way to handle large datasets effectively.

7
Multi-Selectmedium

Which TWO of the following are primary benefits of automating Cisco security policies via APIs? (Choose two)

Select 2 answers
A.Automatic removal of all security threats
B.Bypassing the need for network engineers
C.Increased consistency of security posture
D.Elimination of physical firewalls
E.Reduction in human configuration errors
AnswersC, E

Scripts ensure uniform policy application.

Why this answer

Automation reduces human error and ensures configuration consistency across the environment.

8
MCQhard

You are automating Firepower Management Center event retrieval. You notice your script is getting an HTTP 429 response. What should your automation script implement?

A.Switch to a different API key
B.Increase the timeout interval
C.Implement an exponential backoff algorithm
D.Disable the API logging on the device
AnswerC

Exponential backoff is the standard mechanism to gracefully handle rate-limiting.

Why this answer

An HTTP 429 'Too Many Requests' error indicates rate-limiting. A robust script must implement exponential backoff to respect the API rate limits.

9
MCQmedium

You are automating Cisco ASA firewall rule updates using the REST API. Which data format is required in the request body when pushing a new access control entry?

A.YAML
B.XML
D.CSV
AnswerC

JSON is the standard format for REST API interactions with Cisco security devices.

Why this answer

Cisco ASA REST API integrations typically require JSON as the payload format for defining network objects and access rules.

10
Multi-Selectmedium

Which TWO of the following are valid methods for interacting with Cisco ISE programmatically?

Select 2 answers
A.pxGrid API
B.Syslog streaming
C.CLI SSH Netmiko
D.SNMP Traps
E.External RESTful Services (ERS) API
AnswersA, E

pxGrid is the standard interface for ISE context sharing.

Why this answer

Cisco ISE provides the ERS (RESTful) API for configuration and the pxGrid API for context sharing.

11
MCQmedium

Which Cisco security product API supports 'Bulk' operations to improve efficiency when modifying large numbers of objects?

A.Cisco Firepower Management Center API
B.Cisco ASA REST API
C.Cisco AnyConnect API
D.Cisco ISE ERS API
AnswerA

FMC supports bulk operations for objects.

Why this answer

The FMC API includes 'bulk' endpoints to allow creating or updating multiple objects in a single API call.

12
MCQmedium

You are automating Cisco Firepower Management Center (FMC) object creation using the REST API. You successfully POST a new network object, but the changes do not appear on the managed Firepower Threat Defense (FTD) device. What is the mandatory final step to ensure the changes take effect?

A.Call the /deploy endpoint using the deployment target devices list.
B.The FMC automatically pushes objects immediately after the POST request returns 201.
C.Send a commit command to the FTD device directly via SSH.
D.Restart the snort process via the API.
AnswerA

Deployment is a separate asynchronous operation from the configuration update in the FMC API.

Why this answer

After pushing configuration changes via the FMC REST API, the configuration must be deployed to the FTD devices using the /api/fmc_config/v1/domain/{domainUUID}/deployment/deployabledevices endpoint to trigger the deployment process.

13
MCQeasy

What is the primary function of a 'Bearer Token' in an API request?

A.To define the API schema.
B.To compress the response.
C.To authenticate the API request.
D.To encrypt the payload.
AnswerC

It acts as the credential.

Why this answer

A Bearer Token is a credential that allows the holder (the bearer) to access the protected resource.

14
MCQmedium

You are configuring an Ansible playbook to manage Cisco Firepower policies. Which module is specifically designed to interact with FMC objects?

A.cisco.ise.ise_policy
B.cisco.asa.asa_config
C.cisco.ios.ios_config
D.cisco.fmcansible.fmc_configuration
AnswerD

This is the official collection for managing FMC through Ansible.

Why this answer

The 'cisco.fmcansible' collection provides the specific modules required to manage FMC objects via the API.

15
MCQhard

When interacting with the Cisco ISE ERS API, you receive an HTTP 401 error. What is the most likely cause?

A.Authentication credentials provided are incorrect.
B.The ERS API service is disabled on the ISE node.
C.The request body contains invalid JSON.
D.The resource does not exist.
AnswerA

401 Unauthorized is returned when credentials fail verification.

Why this answer

HTTP 401 indicates unauthorized access, which means the provided credentials or the authentication token is invalid or missing.

16
Multi-Selecthard

Which THREE of the following are common issues encountered when automating Cisco Security APIs? (Choose three)

Select 3 answers
A.Incompatible physical power supply
B.Incorrect URL endpoints or API versioning
C.Exceeding API rate limits
D.Invalid authentication tokens
E.Wrong color of Ethernet cables
AnswersB, C, D

Common cause of 'not found' errors.

Why this answer

Common issues include authentication failure, rate limiting, and incorrect API versions or endpoints.

17
Multi-Selecthard

Which THREE of the following are key considerations when designing an automated security script? (Choose three)

Select 3 answers
A.Robust error handling and logging
B.Secure storage of credentials (e.g., HashiCorp Vault)
C.Scalability and performance monitoring
D.Using default vendor passwords
E.Manual intervention for every step
AnswersA, B, C

Essential for debugging.

Why this answer

Scripts must handle errors, log activities, and be secure.

18
MCQeasy

You are using the Cisco ASA REST API to retrieve the current status of an interface. Which HTTP method should be used to perform this read operation?

A.PATCH
B.PUT
C.POST
D.GET
AnswerD

GET is the read-only method for resource retrieval.

Why this answer

The GET method is standard for retrieving resource state information from the REST API without modifying the configuration.

19
MCQeasy

A network engineer is using the Cisco Firepower Management Center (FMC) API to retrieve access control policy information. Which HTTP method should be used to perform a read-only request for a specific policy resource?

A.GET
B.PATCH
C.POST
D.PUT
AnswerA

GET is used to retrieve data.

Why this answer

The GET method is the standard HTTP verb used to retrieve data from a REST API resource without modifying it.

20
MCQhard

You are running a script that interacts with the Cisco ISE ERS API. The script is designed to perform a bulk import of users. Which HTTP code should you expect for a successful creation request?

A.201 Created
B.200 OK
C.202 Accepted
D.204 No Content
AnswerA

201 is the correct code for resource creation.

Why this answer

HTTP 201 Created is the standard response for a successful POST request that creates a new resource.

21
MCQmedium

Which element in an API request is most often used to filter the amount of data returned?

A.HTTP Header
B.Query Parameters
C.URL Path
D.Request Body
AnswerB

Query parameters filter the response.

Why this answer

Query parameters (e.g., ?limit=10 or ?offset=5) are the standard way to filter and paginate API responses.

22
Multi-Selecthard

Which THREE of the following actions can be automated via the Cisco ASA REST API?

Select 3 answers
A.Monitoring Interface Statistics
B.Modifying physical chassis fan speed
C.Updating Access Control Rules
D.Updating device firmware/BIOS
E.Creating Network Objects
AnswersA, C, E

Retrieving state information is a standard operation.

Why this answer

The ASA REST API supports CRUD operations on objects, interface status checks, and the configuration of access control rules.

23
MCQeasy

Which protocol is primarily used for the transport of API calls in the Cisco security portfolio?

AnswerD

REST APIs communicate over HTTPS.

Why this answer

REST APIs are the industry standard for Cisco security products, and they rely on HTTPS for transport.

24
Multi-Selecthard

Which THREE of the following are methods used in REST APIs? (Choose three)

Select 3 answers
A.POST
B.GET
C.DELETE
D.RUN
E.SEND
AnswersA, B, C

Standard create method.

Why this answer

GET, POST, and DELETE are fundamental HTTP verbs used in RESTful interactions.

25
MCQhard

When using the Cisco ISE ERS API, what is the impact of not specifying the 'Accept' header in your request?

A.The request will always fail.
B.The server may return an unintended data format.
C.The connection will be encrypted with a weaker cipher.
D.The request will be treated as an unauthenticated request.
AnswerB

Standard behavior for REST services.

Why this answer

If 'Accept' is not specified, the server might default to an unexpected content format, leading to parsing errors in the client application.

26
MCQhard

When working with Cisco Firepower API, what is the role of the 'ETag' header in an API response?

A.To cache the response.
B.To manage optimistic concurrency.
C.To authenticate the response.
D.To track the API version.
AnswerB

ETags prevent overwriting concurrent changes.

Why this answer

The ETag (Entity Tag) is used for optimistic concurrency control to ensure that an update is only applied if the resource has not changed since it was last retrieved.

27
MCQhard

You are writing a Python script to interact with the Cisco Adaptive Security Appliance (ASA) via the REST API. You need to verify that your session token remains valid. Which header must be included in subsequent API calls to maintain the authenticated session?

A.Authorization: Bearer
B.Session-Key
C.Cookie: session_id
D.X-Auth-Token
AnswerD

The ASA REST API uses the X-Auth-Token header to validate the session.

Why this answer

The 'X-Auth-Token' header is the standard mechanism for passing the authentication token obtained from the initial login request to the ASA REST API.

28
MCQeasy

Which Python library is the industry standard for sending HTTP requests to Cisco security APIs?

A.netmiko
B.urllib
C.requests
D.paramiko
AnswerC

The requests library is the standard choice for API automation.

Why this answer

The 'requests' library is the most widely used and recommended library for interacting with REST APIs in Python due to its simplicity and robust feature set.

29
Multi-Selectmedium

Which TWO of the following are key features of the Cisco DevNet site? (Choose two)

Select 2 answers
A.Legal advice for startups
B.Direct sales of Cisco gear
C.Hardware repair service
D.Pre-configured API Sandboxes
E.Interactive Learning Labs
AnswersD, E

Essential for testing.

Why this answer

DevNet provides both learning labs and API sandboxes for developers.

30
MCQmedium

You are using the Cisco Firepower Management Center (FMC) API to retrieve a list of Access Control Policies. Which URL endpoint is correct?

A./api/fmc_config/v1/policy/access
B./api/v1/fmc/acp
C./api/fmc_config/v1/domain/{uuid}/policy/accesspolicies
D./api/fmc_config/v1/domain/policy/accesspolicies
AnswerC

This is the correct path for accessing ACPs.

Why this answer

The FMC API structure follows the /api/fmc_config/v1/domain/{domainUUID}/policy/accesspolicies path.

31
Multi-Selecteasy

Which TWO components are typically required to initiate a connection to the Cisco Umbrella API?

Select 2 answers
A.Device Console Cable
B.SSH Private Key
C.API Secret
D.Root user password
E.API Key
AnswersC, E

Required for cryptographic authentication.

Why this answer

To interact with the Umbrella API, you need a generated API Key and the corresponding Secret to authenticate requests.

32
MCQmedium

Which Cisco Security tool uses 'Webhooks' to push real-time threat intelligence to external systems?

A.Cisco IOS XE
B.Cisco Umbrella
C.Cisco ASA
D.Cisco AnyConnect
AnswerB

Umbrella supports webhooks for event streaming.

Why this answer

Cisco Umbrella and SecureX leverage webhooks to send alerts to external platforms in real time.

33
MCQeasy

In a Cisco security automation environment, what does the 'API Rate Limit' represent?

A.The speed of the network connection.
B.The timeout value for an API request.
C.The number of requests allowed per time unit.
D.The maximum size of an API payload.
AnswerC

Rate limits protect the infrastructure from overload.

Why this answer

Rate limits restrict the number of requests a client can make in a specified time window to protect API availability.

34
Multi-Selectmedium

Which TWO of the following are true regarding the Cisco Firepower Management Center (FMC) API?

Select 2 answers
A.It supports OAuth 2.0 token-based authentication
B.It uses a REST-based architecture
C.It requires SOAP/XML formatting
D.It is limited to read-only operations
E.It exclusively uses the XML format for payloads
AnswersA, B

Authentication is performed via token generation endpoints.

Why this answer

The FMC API is REST-based and uses OAuth 2.0 (via the /api/fmc_platform/v1/auth/generatetoken endpoint) for session management.

35
MCQeasy

When designing secure network automation, which practice is considered the most critical for API credentials?

A.Using environment variables or a vault solution
B.Hardcoding credentials in the script
C.Using a shared service account with no password
D.Saving credentials in a local text file
AnswerA

Externalizing secrets is the standard for secure automation.

Why this answer

Storing credentials in plaintext is a severe security vulnerability. Using secret managers (like HashiCorp Vault) or environment variables is the required best practice.

36
MCQmedium

When using the Cisco Umbrella Reporting API, what is the default limit for the number of records returned in a single GET request?

A.1000
B.100
C.50
D.500
AnswerB

100 is the standard default limit for Umbrella API reports.

Why this answer

The Umbrella Reporting API enforces a default limit (typically 100) on the number of results per request to ensure system performance; pagination is required for larger sets.

37
MCQmedium

When automating security, which methodology is used to treat infrastructure configurations as code?

A.Continuous Integration
B.DevOps
C.Agile Security
D.Infrastructure as Code (IaC)
AnswerD

IaC defines infrastructure via code.

Why this answer

Infrastructure as Code (IaC) is the practice of managing and provisioning infrastructure through machine-readable definition files.

38
MCQeasy

What does the 'Authorization' header in a REST API call carry?

A.The server's public key.
B.The content type of the body.
C.The URL of the API.
D.The authentication token or credentials.
AnswerD

This is the standard location for authentication data.

Why this answer

The 'Authorization' header typically carries the bearer token or credentials required to prove the client's identity to the API server.

39
MCQhard

When using the Cisco SecureX API, what is the purpose of the 'Application Name' field in the API client registration?

A.To define the API access scope.
B.To identify the calling application for auditing.
C.To generate the Client Secret.
D.To set the API version.
AnswerB

It facilitates tracking and management in SecureX.

Why this answer

The Application Name (or Client Name) is used for identification and auditing in the SecureX dashboard, allowing administrators to track which application is consuming resources.

40
MCQmedium

You are automating Cisco Firepower policy deployment. After updating the Access Control Policy (ACP) via the API, you must initiate the deployment. Which API endpoint triggers the deployment task?

A./api/fmc_config/v1/domain/{domainUUID}/deployment/deployabledevices
B./api/fmc_config/v1/domain/{domainUUID}/policy/accesspolicies/deploy
C./api/fmc_config/v1/domain/{domainUUID}/devices/deploys
D./api/fmc_config/v1/domain/{domainUUID}/action/deploy
AnswerA

This endpoint is correctly defined for triggering deployment tasks.

Why this answer

The /api/fmc_config/v1/domain/{domainUUID}/deployment/deployabledevices endpoint is used to initiate the deployment process after changes are made.

41
Multi-Selectmedium

Which TWO of the following are true about Cisco Firepower API? (Choose two)

Select 2 answers
A.It is written in C++
B.It provides access to policy management
C.It has no authentication requirements
D.It is only available via the CLI
E.It allows automated object management
AnswersB, E

Primary function of FMC API.

Why this answer

The FMC API is REST-based and allows for configuration of policies and objects.

42
MCQeasy

Which Cisco security component provides visibility and control over cloud-based threats?

A.Cisco ISE
B.Cisco Umbrella
C.Cisco ASA
D.Cisco Firepower
AnswerB

Umbrella is cloud-native security.

Why this answer

Cisco Umbrella is the primary cloud-delivered security service (DNS-layer security and SWG).

43
MCQeasy

In Python, which HTTP library is most recommended for interacting with Cisco Security APIs due to its simplicity and features?

A.socket
B.urllib
C.http.client
D.requests
AnswerD

It is the standard for API automation.

Why this answer

The 'requests' library is the industry standard for HTTP interactions in Python due to its human-readable syntax and built-in features.

44
MCQmedium

You are writing a script to parse FMC API response data. The response is a nested JSON object. Which Python library is standard for handling this task?

A.requests
B.xml.etree
D.pandas
AnswerC

The json module is standard for parsing JSON structures.

Why this answer

The 'json' module is the built-in Python library for encoding and decoding JSON objects.

45
MCQmedium

Which authentication method is most commonly used by Cisco SecureX for API access?

A.API Key (Static)
B.Kerberos
C.OAuth 2.0
D.Basic Auth
AnswerC

SecureX leverages OAuth 2.0 for secure API access.

Why this answer

SecureX uses OAuth 2.0 with Client Credentials for machine-to-machine authentication.

46
MCQmedium

Which Cisco technology allows you to automate the distribution of Indicators of Compromise (IoCs) across the security stack?

A.Cisco Threat Intelligence Director (TID)
B.Cisco ISE SGTs
C.Cisco Umbrella Investigate
D.Cisco ASA Access Lists
AnswerA

TID is specifically designed for IoC intake and automated distribution.

Why this answer

Cisco Threat Intelligence Director (TID), integrated into Firepower, automates the intake and distribution of IoCs to various sensors and devices.

47
MCQmedium

When automating Cisco Stealthwatch, which authentication type is utilized for the API?

A.X.509 Certificate
B.TACACS+ shared secret
C.OAuth 2.0 Client Credentials
D.Username and Password (or API Key)
AnswerD

These are the common methods for Stealthwatch.

Why this answer

Stealthwatch uses a combination of API keys or username/password authentication depending on the version and configuration.

48
MCQhard

You are utilizing the Cisco ISE ERS API to provision a guest account. If the API returns a '409 Conflict', what is the most likely cause?

A.The credentials provided are invalid.
B.The account already exists.
C.The request body is malformed.
D.The API rate limit has been exceeded.
AnswerB

409 status code signals an object conflict.

Why this answer

A 409 Conflict indicates that the request could not be processed because the resource (e.g., a guest account with the same ID) already exists.

49
MCQmedium

Which Cisco tool is best suited for centralizing the management of security APIs across multiple platforms?

A.Cisco FMC
B.Cisco ISE
C.Cisco SecureX Orchestration
D.Cisco Umbrella
AnswerC

Designed for cross-platform API automation.

Why this answer

Cisco SecureX Orchestration (formerly Cisco Defense Orchestrator/Cisco Cloud Orchestrator) provides the ability to chain and automate API calls across Cisco security products.

50
MCQmedium

When automating threat hunting with the Cisco SecureX Threat Response API, which object type is commonly used as a search parameter?

A.Session ID
B.Policy Name
C.Device ID
D.Observable
AnswerD

Observables are the building blocks of threat hunting in SecureX.

Why this answer

Threat Response uses 'observables' (e.g., IP addresses, file hashes, domains) as the primary objects for investigation.

51
Multi-Selecthard

Which TWO of the following are characteristics of the Cisco ISE ERS API? (Choose two)

Select 2 answers
A.It requires a proprietary binary protocol
B.It supports CRUD (Create, Read, Update, Delete) operations
C.It is purely for CLI access
D.It only works with physical appliances
E.It uses RESTful principles
AnswersB, E

Core function of the ERS API.

Why this answer

ERS is a RESTful API and supports CRUD operations on ISE resources.

52
MCQhard

You are configuring a Cisco ISE external RESTful service (ERS) integration. You need to update the status of a guest user. Which HTTP method and resource URI structure is correct?

A.POST /ers/config/guestuser/update
B.UPDATE /ers/config/guestuser/{id}
C.PATCH /ers/config/guestuser/{id}
D.PUT /ers/config/guestuser/{id}
AnswerD

The ERS API follows standard REST conventions where PUT is used for updates.

Why this answer

The Cisco ISE ERS API uses PUT for updates. For guest users, the correct path is /ers/config/guestuser/{id}.

53
MCQeasy

What is the primary function of an API 'sandbox' in Cisco DevNet?

A.To train end-users.
B.To store production backups.
C.To provide a safe environment for development and testing.
D.To bypass security compliance requirements.
AnswerC

They isolate testing from production.

Why this answer

Sandboxes provide a pre-configured environment for developers to test and validate their API calls without affecting production networks.

54
Multi-Selectmedium

Which TWO of the following are types of Cisco Security API documentation? (Choose two)

Select 2 answers
A.Swagger/OpenAPI specifications
B.Developer portal HTML/web docs
C.Physical manuals printed on paper
D.Direct source code distribution
E.Voice-recorded tutorials
AnswersA, B

Standard machine-readable docs.

Why this answer

Cisco provides Swagger (OpenAPI) and HTML-based documentation for its APIs.

55
Multi-Selecthard

Which THREE of the following are core principles of Secure Network Design when using APIs?

Select 3 answers
A.Principle of Least Privilege
B.Use of TLS for all API communication
C.Audit logging for all API transactions
D.Public internet exposure of all API endpoints
E.Use of default vendor API credentials
AnswersA, B, C

Limit API key permissions to only what is required.

Why this answer

Secure API design relies on Principle of Least Privilege, robust logging/auditing, and encrypted communication channels (TLS).

56
Multi-Selectmedium

Which THREE of the following fields are commonly found in a JSON API response object? (Choose three)

Select 3 answers
A.Meta/Pagination info
B.Status code/Message
C.System BIOS version
D.Data field (payload)
E.Physical location of the server
AnswersA, B, D

Helps in handling large datasets.

Why this answer

JSON responses typically contain data, status codes, and message information.

57
MCQmedium

You are automating Cisco Firepower Management Center (FMC) via the REST API. You need to update an existing object. Which HTTP method must you use to ensure a full update of the resource representation?

A.PUT
B.POST
C.GET
D.PATCH
AnswerA

PUT is the standard method for full resource updates in RESTful APIs.

Why this answer

The PUT method is used for full updates of resources in the FMC REST API, replacing the existing object with the provided payload.

58
MCQmedium

You are automating Firepower Management Center (FMC) object creation using the REST API. You send a POST request to /api/fmc_config/v1/domain/{domainUUID}/object/networkaddresses with a body containing a name and type. The request returns a 400 Bad Request error. What is the most likely cause?

A.The domainUUID is incorrect.
B.The Content-Type header is missing.
C.The API user lacks the 'Network Admin' role.
D.The mandatory 'value' attribute is missing from the JSON payload.
AnswerD

The API requires the 'value' field for network objects to define the IP/CIDR.

Why this answer

When creating network objects, the 'value' field is mandatory for defining the subnet or host address. Without it, the schema validation fails.

59
MCQhard

When automating Cisco Security solutions, what is the primary benefit of using a 'Service Account' instead of a personal user account for API authentication?

A.Improved performance of API calls.
B.Automatic elevation of privilege.
C.Ability to bypass firewall rules.
D.Decoupling script execution from individual employee identity.
AnswerD

Service accounts prevent script failure when employees leave.

Why this answer

Service accounts provide non-expiring credentials that are not tied to an individual's lifecycle, ensuring script continuity.

60
Multi-Selectmedium

Which TWO of the following are valid ways to test Cisco APIs before deployment? (Choose two)

Select 2 answers
A.Using a dedicated lab/sandbox environment
B.Using Postman or similar API client tools
C.Running scripts directly in the production environment
D.Asking a colleague to rewrite the script
E.Guessing the API structure
AnswersA, B

Safest way to test.

Why this answer

Testing in a lab environment or using a dedicated API tool like Postman is best practice.

61
MCQhard

You are automating threat response using Cisco Threat Response. You want to retrieve a list of verdicts for a specific observable (e.g., an IP address). Which API provides this capability?

A.Cisco Security Services Exchange (SSE) API
B.Cisco Firepower Management Center API
C.Cisco Threat Response (CTR) API
D.Cisco ISE pxGrid API
AnswerC

The CTR API provides access to integrated verdict data for observables.

Why this answer

The Cisco Threat Response API (often integrated via the 'private cloud' or 'public cloud' API endpoints) allows querying indicators and verdicts for specific observables.

62
MCQhard

In the context of the Cisco Firepower API, what does a 'GET' request to '/api/fmc_config/v1/domain/{domainUUID}/policy/accesspolicies' return?

A.The current system configuration backup.
B.A list of connected users.
C.A list of all access control policies.
D.A list of all device status events.
AnswerC

Correct path for retrieving access policies.

Why this answer

This path is the standard RESTful endpoint for listing all access control policies within a specific domain on the FMC.

63
MCQeasy

When using the FMC API, what is the purpose of the 'X-Auth-Access-Token' header?

A.To carry the session token for authentication.
B.To specify the target device IP address.
C.To define the API version.
D.To enable debugging mode.
AnswerA

This header provides the token required for authorized access.

Why this answer

The X-Auth-Access-Token is used to authenticate subsequent API requests after the initial authentication handshake.

64
Multi-Selecthard

Which THREE of the following are best practices for managing API keys? (Choose three)

Select 3 answers
A.Rotate keys regularly
B.Use least privilege access for keys
C.Never hardcode keys in scripts
D.Use the same key for every project
E.Share keys via email with the team
AnswersA, B, C

Reduces impact of compromised keys.

Why this answer

Keys should never be hardcoded, should be rotated regularly, and restricted to the least privilege.

65
MCQmedium

You are configuring a CI/CD pipeline to deploy Cisco ASA firewall rules. Which step is essential to ensure the changes are correct before applying them to production?

A.Deploy to a sandbox or staging environment for validation.
B.Rely on automated rollback without testing.
C.Directly apply to production to save time.
D.Only test the API connectivity.
AnswerA

Staging ensures configuration validity.

Why this answer

Validating changes in a staging or pre-production environment is critical to ensure logic and syntax correctness.

66
MCQeasy

Which Cisco security product uses the pxGrid framework to share contextual information with other network devices?

A.Cisco ISE
B.Cisco Firepower
C.Cisco ASA
D.Cisco Umbrella
AnswerA

ISE is the core identity platform for pxGrid integration.

Why this answer

Cisco ISE (Identity Services Engine) is the primary platform that utilizes pxGrid to share identity and policy context across the network ecosystem.

67
MCQeasy

Which programming language is most commonly used for Cisco Security automation tasks?

A.Java
B.Python
C.C++
D.PHP
AnswerB

Python is the preferred language for Cisco automation.

Why this answer

Python is the industry standard for network and security automation due to its extensive library support and readability.

68
Multi-Selecthard

Which TWO steps are required to properly authenticate to the Cisco Firepower Management Center (FMC) API using the REST API Explorer?

Select 2 answers
A.Use Basic Auth in the header with admin credentials
B.Send a POST request to /api/fmc_platform/v1/auth/generatetoken
C.Perform a GET request to the root URL
D.Send credentials in the URL query string
E.Capture the X-auth-access-token header from the response
AnswersB, E

This is the entry point for API authentication.

Why this answer

Authentication requires sending a POST request to /api/fmc_platform/v1/auth/generatetoken and storing the returned X-auth-access-token header.

69
MCQhard

You are troubleshooting a Python script using the Cisco pxGrid API. The script fails to receive notifications from ISE. Which component must be verified first?

A.The local machine's DNS settings.
B.The pxGrid controller status and connection state.
C.The ISE ERS API status.
D.The TACACS+ shared secret.
AnswerB

Verification of the active connection is essential for data flow.

Why this answer

The pxGrid connection state must be established and 'active' to receive notifications. The connection is a two-way handshake process.

70
MCQmedium

A script needs to update a Cisco Firepower object. Which API workflow is correct?

A.POST directly to the object ID.
B.PATCH the entire configuration file.
C.DELETE the object, then POST a new version.
D.GET to retrieve current state, then PUT the updated state.
AnswerD

Standard RESTful update pattern for FMC.

Why this answer

The standard workflow is to GET the current object to retrieve its 'id' and 'version', then perform a PUT to update it.

71
MCQmedium

In the context of the Cisco ASA REST API, what is the role of the 'ETag' header in an API response?

A.To cache the response
B.To provide concurrency control for updates
C.To identify the user session
D.To encrypt the payload
AnswerB

ETags track resource versions to prevent conflicts during concurrent modifications.

Why this answer

The ETag (Entity Tag) is used for concurrency control. It ensures that when you update a resource, you are modifying the version you expect, preventing 'lost updates'.

Ready to test yourself?

Try a timed practice session using only Network Security questions.