Courseiva

CCNA Network Security Questions

75 questions · Network Security · 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

The protocol specifies the scheme, such as HTTPS, that governs how a client requests the resource, and it always precedes the host in a URL's syntax. This satisfies the stem's requirement for a URL component, since the scheme is a mandatory structural element rather than optional metadata.

Why this answer

A URL's structure begins with the scheme, so option A (Protocol, e.g., https) is correct because it specifies how the resource is accessed, such as http, https, or ftp, and appears before the '://' delimiter. Option D (Host/Domain name) is also correct because it identifies the server hosting the resource, e.g., www.example.com, and is a required authority component of a URL. Option B is incorrect because a URL contains a hostname or domain name, not the local machine's IP address, which is the client's own address.

Option C is incorrect because a URL never includes the server's physical CPU type, as that is hardware information unrelated to addressing. Option E is incorrect because credentials such as a password are not part of a standard URL structure and would be a serious security risk if embedded there.

Exam trap

SAUTO often tests whether candidates confuse the components of a URL with other networking concepts, such as the client's IP address or server hardware, leading them to select incorrect options.

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

The /sw-reporting/v1/flows endpoint belongs to the Reporting API, which exposes flow records collected by Secure Network Analytics. It satisfies the stem's requirement to query flow data specifically, unlike the configuration or management endpoints. Authentication uses a bearer token issued by Microsoft Entra ID, so automation scripts can retrieve flows programmatically.

Why this answer

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

3
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

After posting credentials, the FMC returns a token in the response header; the script must extract X-Auth-Access-Token and reuse it in subsequent request headers. This token-based mechanism replaces repeated credential exchange for each API call.

Why this answer

The Cisco Firepower Management Center (FMC) REST API authentication workflow begins by sending a POST request to the /api/fmc_platform/v1/auth/generatetoken endpoint with valid credentials (typically HTTP Basic Auth), which is exactly what option E describes. The FMC then returns a response containing the authentication token in the X-Auth-Access-Token header (along with a refresh token), so option B correctly identifies extracting that token from the response as the next step; this token is then used in the X-Auth-Access-Token header of subsequent API calls. Option A is incorrect because restarting FMC services is a troubleshooting action, not part of API authentication.

Option C is incorrect because there is no DELETE request to clear a cache in the authentication workflow; token revocation uses a different mechanism. Option D is incorrect because SNMP v3 traps are for network monitoring and have no role in FMC API authentication.

4
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

ERS batch endpoints accept multiple objects in a single HTTP request, so thousands of SGT updates are grouped rather than sent individually. This directly minimises API call volume and load on Cisco ISE compared with per-object requests.

Why this answer

The ISE ERS (External RESTful Services) Batch API endpoints allow multiple operations to be submitted in a single API call, drastically reducing the number of HTTP requests and the load on ISE when updating thousands of SGTs. This is the recommended mechanism for bulk operations. Iterative single-POST requests would overwhelm the API and are inefficient.

Exam trap

SAUTO often tests whether candidates recognize the ERS Batch API as the sanctioned bulk mechanism versus naive iterative calls, and includes absurd distractors like SQL injection to see if candidates understand supported vs unsupported methods.

How to eliminate wrong answers

Option A is wrong because iterative single-POST requests generate thousands of individual API calls, causing high overhead, throttling, and potential performance degradation on ISE. Option C is wrong because pxGrid is a publish/subscribe context-sharing framework for security integrations, not a bulk configuration update mechanism for SGTs. Option D is wrong because direct SQL injection into the ISE database is unsupported, dangerous, and would violate Cisco's supported configuration model, risking database corruption and voiding support.

5
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

API-driven policy automation removes manual CLI configuration drift, so every device receives identical access control lists and firewall rules. This directly satisfies the stem's consistency requirement, since human error during repetitive configuration is the main cause of divergent security postures across a fleet.

Why this answer

Option C is correct because automating security policies through APIs enforces a single, version-controlled definition of policy that is applied identically across all managed devices, so the security posture stays consistent rather than drifting between manual changes. Option E is correct because API-driven automation removes repetitive manual CLI entry, which is the main source of typos, wrong object groups, and misordered ACL/rule entries that cause configuration errors. Options A, B, and D are not benefits of API automation: APIs do not autonomously detect and remove all threats (that requires security controls such as IPS, AMP, or firewall inspection), they do not replace network engineers (they shift their work to designing and maintaining automation), and they do not eliminate physical firewalls (they configure and manage existing devices, whether physical or virtual).

6
MCQmedium

A network security engineer is using Ansible to automate configuration of Cisco ASA firewalls. The engineer needs to ensure that the playbook can handle authentication to the ASA devices securely without hardcoding credentials. Which Ansible feature should be used to store and retrieve the ASA credentials?

A.Ansible Vault
B.Environment variables
C.Inventory file in plaintext
D.Ansible facts
AnswerA

Ansible Vault encrypts sensitive data such as passwords and keys. You can store ASA credentials in an encrypted file and reference them in playbooks. This prevents hardcoding credentials in plaintext. Vault uses AES-256 encryption and requires a password to decrypt. This is the recommended method for securing secrets in Ansible.

Why this answer

Ansible Vault is designed to encrypt sensitive data, including credentials. By storing ASA credentials in a Vault-encrypted file, the playbook can securely retrieve them without exposing them in plaintext. Other options either lack encryption or are not intended for secret storage.

Vault is the standard secure solution for Ansible.

Exam trap

The trap here is thinking that environment variables or plaintext inventory files are secure enough, when they can be easily exposed.

7
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

HTTP 429 signals rate limiting, so the script must retry after a delay. Exponential backoff progressively increases the wait between attempts, reducing request volume until the FMC accepts calls again, avoiding further throttling or failed retrievals.

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.

8
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
C.JSON
D.CSV
AnswerC

JSON is the native payload format for the Cisco ASA REST API, which accepts and returns JSON-encoded objects for access control entry operations. The API rejects XML and form-encoded bodies, so JSON satisfies the stem's requirement for the request body when pushing a new ACE.

Why this answer

The Cisco ASA REST API requires request bodies to be formatted in JSON (JavaScript Object Notation). When pushing a new access control entry (ACE), you must send a JSON payload that defines the ACE parameters, such as source, destination, and action. This is specified in Cisco's ASA REST API documentation, which mandates JSON for all API interactions.

Exam trap

SAUTO often tests the misconception that the ASA REST API supports multiple data formats like XML or YAML, but it exclusively uses JSON.

How to eliminate wrong answers

Option A is wrong because YAML is not supported by the Cisco ASA REST API; while YAML is human-readable, the API only accepts JSON. Option B is wrong because XML is not used by the ASA REST API; although XML is common in other APIs, ASA specifically requires JSON. Option D is wrong because CSV is a flat-file format for data exchange, not a structured format for API requests, and the ASA REST API does not accept CSV.

9
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

The pxGrid API enables bidirectional, context-sharing integration with Cisco ISE, publishing session, identity and endpoint data to subscribers and allowing external systems to query or act on that context. This satisfies the stem's requirement for a programmatic interaction method, unlike GUI-only or non-API interfaces.

Why this answer

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

10
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

Firepower Management Center's REST API exposes bulk operations, letting you create, modify or delete many objects in a single request. This satisfies the efficiency constraint by avoiding thousands of individual calls when modifying large object sets.

Why this answer

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

11
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

FMC stores object changes in its configuration database; the FTD devices only receive them when a deployment job is triggered. POSTing to /deploy with the target device list pushes the pending configuration, satisfying the requirement that changes actually take effect on managed devices.

Why this answer

After creating or modifying objects via the FMC REST API, the changes exist only in the FMC configuration database and are not pushed to managed FTD devices until a deployment is triggered. The mandatory final step is to call the /deploy endpoint with the deployment target devices list, which pushes the pending configuration to the specified FTD devices. Without this deployment call, the new network object will not take effect on the FTD.

Exam trap

SAUTO often tests whether candidates know that FMC REST API changes require an explicit deployment step — assuming the POST alone pushes changes to FTD is the classic mistake.

How to eliminate wrong answers

Option B is wrong because FMC does not automatically push object changes to FTD devices after a POST returns 201 — the 201 only confirms the object was created in FMC's database, not deployed. Option C is wrong because sending a commit command directly to the FTD via SSH bypasses FMC management and is not the supported workflow; FMC-managed devices are configured through FMC, not direct CLI commits. Option D is wrong because restarting the Snort process does not deploy configuration changes — it only restarts the inspection engine and would not apply the new object.

12
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

Bearer tokens carry the access credential itself, so the API validates the token's signature, issuer and expiry to authenticate the caller. This satisfies the stem's requirement for authenticating the request without requiring a separate session or cookie exchange.

Why this answer

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

13
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

cisco.fmcansible.fmc_configuration is the Ansible module built to create, update and delete FMC objects, abstracting the underlying REST calls. It directly satisfies the playbook's need to manage Firepower policies through FMC rather than generic HTTP modules.

Why this answer

The cisco.fmcansible.fmc_configuration module is part of the Cisco FMC Ansible collection and is specifically designed to manage Firepower Management Center (FMC) objects, policies, and device configurations via the FMC REST API. It allows playbooks to create, update, and delete FMC objects such as network objects, access control policies, and port objects.

Exam trap

SAUTO often tests module namespace recognition — candidates may pick a generic IOS or ASA module because they overlook the FMC-specific collection name 'cisco.fmcansible'.

How to eliminate wrong answers

Option A is wrong because cisco.ise.ise_policy targets Cisco Identity Services Engine (ISE) for policy management, not FMC. Option B is wrong because cisco.asa.asa_config manages Cisco ASA firewall configurations, not FMC. Option C is wrong because cisco.ios.ios_config manages Cisco IOS device configurations, not FMC.

14
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

HTTP 401 Unauthorised signals failed authentication, so the supplied credentials are incorrect or malformed. The ERS API rejects the request before authorisation checks, making invalid credentials the most likely cause rather than permissions or payload issues.

Why this answer

An HTTP 401 Unauthorized response indicates that the request lacks valid authentication credentials for the target resource. When interacting with the Cisco ISE ERS (External RESTful Services) API, the most likely cause is that the username, password, or authentication token provided is incorrect or missing. The ERS API requires valid credentials with appropriate RBAC permissions to authenticate each request.

Exam trap

The trap is confusing 401 with 403 or 404 — candidates may attribute a 401 to a disabled service or missing resource, but 401 specifically means authentication failed, while 403 means authenticated but forbidden, and 404 means not found.

How to eliminate wrong answers

Option B is wrong because if the ERS API service were disabled on the ISE node, the typical response would be a connection refused or HTTP 404/503, not 401 — the service would not be reachable to return an authentication error. Option C is wrong because invalid JSON in the request body would produce an HTTP 400 Bad Request, not 401, since the request would fail parsing after authentication. Option D is wrong because a non-existent resource returns HTTP 404 Not Found, not 401 — authentication succeeded but the resource was not found.

15
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

Automation scripts frequently fail because hard-coded URLs point at retired or incorrect endpoints, or because the API version in the path no longer matches the deployed platform. This mismatch between script and live API surface is a genuine, commonly encountered automation issue, satisfying the scenario's requirement.

Why this answer

Option B is correct because Cisco Security APIs (e.g., Cisco Firepower, Umbrella, ISE, and SecureX) expose versioned REST endpoints, and automation scripts frequently fail when they hard-code an outdated path such as /v1/ instead of the current /v2/ or when they target the wrong base URL for a given tenant or region. Option C is correct because Cisco Security API gateways enforce rate limits (for example, Umbrella enforces per-organization request quotas and Firepower Management Center enforces concurrent API call limits), so automation that polls too aggressively receives HTTP 429 Too Many Requests responses and must implement backoff/retry logic. Option D is correct because Cisco Security APIs rely on OAuth 2.0 bearer tokens or API keys that expire after a set lifetime, so long-running automation fails with HTTP 401 Unauthorized unless it refreshes tokens or rotates credentials.

Option A is not a software/API automation concern at all, since power supply compatibility is a hardware issue unrelated to REST calls. Option E is likewise irrelevant, as Ethernet cable color has no bearing on API authentication, endpoint routing, or rate limiting.

16
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

Automated security scripts run unattended, so robust error handling and logging let failures be caught, diagnosed and retried without manual intervention. This satisfies the design requirement that scripts remain reliable and auditable when executing security tasks at scale.

Why this answer

Option A is correct because automated security scripts must include robust error handling and logging so failures are detected, exceptions are caught gracefully, and an audit trail exists for troubleshooting and compliance. Option B is correct because scripts often need privileged credentials, and storing them in a dedicated secrets manager such as HashiCorp Vault (rather than hard-coding them) prevents credential leakage and supports rotation and least-privilege access. Option C is correct because automation must handle growing workloads and remain observable, so scalability and performance monitoring ensure the script does not become a bottleneck or silently degrade.

Option D is not appropriate because default vendor passwords are well-known and easily exploited, violating basic security hardening. Option E is not appropriate because requiring manual intervention at every step defeats the purpose of automation, reducing speed, consistency, and reliability.

17
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 HTTP method defined for safe, idempotent retrieval of a resource representation without modifying server state. Requesting interface status from the ASA REST API is a read operation, so GET satisfies the requirement to fetch current state without altering configuration.

Why this answer

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

18
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 retrieves a representation of the specified policy resource without altering server state, satisfying the read-only constraint. The other HTTP methods (POST, PUT, DELETE) modify or create resources, so they cannot fulfil a read-only request.

Why this answer

The HTTP GET method is defined for safe, read-only retrieval of a resource and is the correct method to fetch access control policy information from the FMC API. GET requests do not modify server state and are idempotent, making them ideal for querying a specific policy resource by its identifier. The FMC REST API follows standard REST conventions, so GET is used for all read operations.

Exam trap

The trap is selecting a write method (PATCH, POST, PUT) for a read-only operation — candidates who are unfamiliar with REST semantics may confuse the method used to retrieve data with the method used to modify it.

How to eliminate wrong answers

Option B is wrong because PATCH is used for partial updates to an existing resource, not for read-only retrieval — it modifies server state. Option C is wrong because POST is used to create new resources or trigger actions, not to read an existing policy. Option D is wrong because PUT is used to replace an entire resource, which is a write operation, not a read-only request.

19
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

A successful bulk user creation via the ERS API returns 201 Created, confirming each resource was instantiated. This satisfies the stem's requirement for the expected success code on a creation request, distinguishing it from 200 OK, which signals retrieval rather than resource creation.

Why this answer

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

20
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 appended to the URI narrow results server-side, for example limiting returned records by field value, count or time range. They satisfy the stem's requirement to filter data volume, unlike headers or the body, which carry authentication and payload content rather than selection criteria.

Why this answer

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

21
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

The ASA REST API exposes monitoring endpoints that return interface statistics such as packet and byte counters, enabling automated health checks. Reading these counters requires no configuration change, satisfying the monitoring action the question asks about.

Why this answer

The Cisco ASA REST API exposes configuration and monitoring endpoints for supported ASA features, so option A (Monitoring Interface Statistics) is correct because interface counters and status can be retrieved programmatically via the monitoring/operational endpoints. Option C (Updating Access Control Rules) is correct because access lists and access-group bindings are configurable objects that the REST API can create, modify, and delete. Option E (Creating Network Objects) is correct because network objects and object groups are among the primary configuration resources the ASA REST API manages.

Option B (Modifying physical chassis fan speed) is not correct because fan speed is controlled by the hardware/environmental subsystem and is not exposed as a REST API configuration resource. Option D (Updating device firmware/BIOS) is not correct because firmware/BIOS/ASA software image upgrades are performed through the CLI, ASDM, or ROMmon, not through the REST API.

22
MCQeasy

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

A.SNMP
B.SSH
C.TFTP
D.HTTPS
AnswerD

HTTPS wraps HTTP in TLS, providing the encrypted transport that Cisco security APIs require for authentication tokens and configuration data in transit. Plain HTTP would expose credentials, so HTTPS is the portfolio's primary API transport protocol.

Why this answer

HTTPS (HTTP over TLS) is the standard transport for REST API calls across the Cisco security portfolio, including Secure Endpoint, Umbrella, SecureX, and Firepower. It provides encryption, authentication, and integrity for API requests and responses, and all Cisco APIs expose HTTPS endpoints.

Exam trap

SAUTO often tests the distinction between management protocols (SNMP, SSH) and API transport protocols (HTTPS), causing candidates to select a protocol they associate with Cisco device management rather than API communication.

How to eliminate wrong answers

Option A is wrong because SNMP is a network management protocol used for monitoring and configuring network devices, not for REST API transport. Option B is wrong because SSH is a secure shell protocol used for CLI access to devices, not for REST API calls. Option C is wrong because TFTP is a trivial file transfer protocol used for transferring configuration files or firmware, not for API communication.

23
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

POST creates a new subordinate resource on the server, submitting a representation in the request body. It is one of the standard REST methods, alongside GET, PUT, PATCH and DELETE, and is commonly used when provisioning objects through Cisco security APIs.

Why this answer

POST (A) is a standard REST API method used to create a new resource on the server, typically submitting data in the request body. GET (B) is a standard REST API method used to retrieve a representation of a resource without modifying server state. DELETE (C) is a standard REST API method used to remove a specified resource from the server.

Together with PUT and PATCH, these form the core HTTP verbs defined for RESTful services. RUN (D) and SEND (E) are not HTTP methods and have no role in REST API semantics, so they are incorrect.

24
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

Without an Accept header, the Cisco ISE ERS API cannot negotiate content type, so it falls back to a default representation rather than the format you intended. Specifying it guarantees the expected JSON or XML response.

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.

25
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

The ETag identifies a specific resource version; clients resend it via If-Match so the server rejects updates based on stale data. This optimistic concurrency control satisfies the stem's question about the header's role in Firepower API responses.

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.

26
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 provides a simple, widely adopted interface for issuing HTTP calls, handling headers, authentication, sessions and JSON parsing. This satisfies the requirement for an industry-standard Python tool when sending REST requests to Cisco security APIs.

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.

27
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

Pre-configured API sandboxes let learners send live calls against Cisco platforms without building or hosting their own lab, satisfying the stem's requirement for a DevNet feature. They provide immediate, guided practise with real endpoints, authentication and sample payloads, which is central to DevNet's hands-on learning model.

Why this answer

Option D is correct because Cisco DevNet provides pre-configured API Sandboxes that let developers test Cisco APIs (such as DNA Center, Meraki, and Webex) against live or simulated environments without needing their own hardware. Option E is correct because DevNet offers Interactive Learning Labs, which are guided, hands-on environments for practicing coding, automation, and API integration skills directly in a browser. These two features reflect DevNet's core mission of enabling developers to learn, build, and test with Cisco platforms.

Options A, B, and C are not DevNet features: DevNet does not provide legal advice for startups, does not act as a direct sales channel for Cisco gear, and does not offer hardware repair services.

28
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

The FMC REST API nests policy resources under the config version and domain UUID, so access control policies are addressed at /policy/accesspolicies within /api/fmc_config/v1/domain/{uuid}. This endpoint satisfies the stem's requirement to list Access Control Policies via the FMC API.

Why this answer

The correct FMC REST API endpoint for Access Control Policies is /api/fmc_config/v1/domain/{uuid}/policy/accesspolicies, where {uuid} is the domain UUID obtained from the platform info endpoint. This follows FMC's standard config API URL structure.

Exam trap

SAUTO often tests whether candidates memorize the exact FMC API URL structure, so the trap is picking a plausible-looking path that omits the domain UUID or uses an incorrect resource name.

How to eliminate wrong answers

Option A is wrong because it omits the domain/{uuid} segment and uses 'policy/access' instead of the correct 'policy/accesspolicies' resource name. Option B is wrong because it uses a fabricated /api/v1/fmc/acp path that does not exist in FMC's API hierarchy. Option D is wrong because it substitutes the literal string 'domain' for the actual domain UUID, which the API requires as a path parameter.

29
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

The API secret is the confidential half of the Umbrella key pair, supplied alongside the API key to authenticate requests. Without it, the management API rejects the client, so it is required to initiate a connection.

Why this answer

The Cisco Umbrella API uses key-based authentication, so an API Key (option E) is required to identify the client making the request, and an API Secret (option C) is required to authenticate that client, typically via a token request to the Umbrella token endpoint. These two credentials are generated in the Umbrella dashboard under Admin > API Keys and are used together (for example, as the client_id and client_secret in an OAuth 2.0 token request) to obtain an access token for subsequent API calls. A Device Console Cable (option A) is a physical serial connection used for out-of-band management of appliances and has nothing to do with REST API authentication.

An SSH Private Key (option B) is used for SSH-based device access, not for the Umbrella API, which authenticates over HTTPS. A Root user password (option D) is an OS-level credential and is not part of the Umbrella API authentication scheme.

30
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

API rate limits cap how many requests a client may send within a defined time window, such as per minute or per second. Exceeding the threshold typically returns HTTP 429. This constrains automation scripts against Cisco security products, which enforce such quotas.

Why this answer

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

31
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

Option A is correct because the Cisco FMC API supports OAuth 2.0 token-based authentication, where clients POST credentials to /api/fmc_platform/v1/auth/generatetoken to obtain a short-lived access token (and a refresh token) that is then sent in the X-auth-access-token header. Option B is correct because the FMC API is built on a REST-based architecture, exposing versioned HTTPS endpoints such as /api/fmc_config/v1/domain/{domainUUID}/... that use standard HTTP methods (GET, POST, PUT, DELETE) for CRUD operations. Option C is incorrect because the FMC API does not use SOAP/XML web services; it is RESTful and communicates over HTTPS with JSON payloads.

Option D is incorrect because the API supports full read-write operations, including creating, modifying, and deleting policies, objects, and device configurations, not just reads. Option E is incorrect because the FMC API uses JSON as its payload format, not XML exclusively.

32
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

Storing API credentials in environment variables or a vault keeps them out of source code and configuration files, satisfying the stem's demand for secure automation. Vaults add rotation, auditing and least-privilege retrieval, so compromised scripts cannot leak long-lived secrets.

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.

33
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

The Cisco Umbrella Reporting API caps each GET request at 100 records by default. Larger result sets must be paginated using the limit and offset parameters, so this default governs how many records a single call returns.

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.

34
Multi-Selecthard

You are automating the deployment of Cisco ASA firewall rules using the ASA REST API. You need to ensure that the API calls are secure and that changes are properly applied. Which two practices are essential for secure and successful automation? (Choose two.)

Select 2 answers
A.Disable logging on the ASA to improve API performance.
B.After making configuration changes via the API, commit them with a write memory command or equivalent.
C.Store API credentials in plaintext within the automation script for easy access.
D.Use the GET method to apply configuration changes to the ASA.
E.Use HTTPS with certificate validation to protect credentials and data in transit.
AnswersB, E

The ASA REST API allows configuration changes, but they are not automatically saved to the startup configuration. You must explicitly save the configuration, often via a separate API call or command, to persist changes across reboots. Failing to save results in loss of changes after a reload.

Why this answer

Secure automation requires HTTPS with certificate validation to protect credentials and data. Additionally, changes made via the ASA REST API must be explicitly saved to the startup configuration to persist. These two practices ensure both security and successful application of changes.

Exam trap

The trap here is assuming that API configuration changes are automatically saved, or that storing credentials in scripts is acceptable, when both are incorrect.

35
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

Infrastructure as Code defines devices, policies and topologies in version-controlled declarative files, then applies them through automation tooling. This satisfies the stem's requirement to treat configurations as code, enabling peer review, repeatable deployment and rollback instead of manual CLI changes.

Why this answer

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

36
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

The Authorization header carries credentials used to authenticate the request, typically a bearer token, API key or Basic base64-encoded username and password. This lets the API verify the caller's identity and permissions, satisfying the scenario's requirement to identify what authentication material the header transports.

Why this answer

The 'Authorization' header in a REST API call is used to transmit credentials that authenticate the client to the server. This typically includes a token (e.g., Bearer token, API key) or other authentication scheme (e.g., Basic auth with base64-encoded username:password). It does not carry the server's public key, content type, or URL.

Exam trap

SAUTO often tests the distinction between authentication and authorization headers, and candidates may confuse the Authorization header with other headers like Content-Type or with the server's public key, leading to incorrect answers.

How to eliminate wrong answers

Option A is wrong because the server's public key is not sent in the Authorization header; it is typically used for encryption or signature verification and may be obtained via a separate endpoint or certificate. Option B is wrong because the content type of the body is specified in the 'Content-Type' header, not 'Authorization'. Option C is wrong because the URL of the API is the request target, not a header value; it appears in the request line, not in the Authorization header.

37
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

The Application Name labels the registered API client so SecureX logs and audit trails attribute each API call to a known application. This satisfies the stem by enabling accountability and traceability of requests originating from that client.

Why this answer

When registering an API client in Cisco SecureX, the 'Application Name' field is a human-readable label that identifies the calling application. It is used for auditing, logging, and visibility so administrators can see which application made which API calls. It does not grant permissions or generate secrets — those are handled by other fields (scopes and client secret generation).

Exam trap

SAUTO often tests whether candidates conflate the descriptive Application Name with functional fields like scope or secret generation, so the trap is picking the scope-definition answer.

How to eliminate wrong answers

Option A is wrong because the API access scope is defined by the selected scopes/permissions during client registration, not by the Application Name. Option C is wrong because the Client Secret is generated by the platform when the client is created, independent of the name field. Option D is wrong because API versioning is specified in the request URL/path (e.g., /v1/), not by the Application Name.

38
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

The Firepower API exposes policy management operations, allowing scripts to create, read, update and deploy access control, intrusion and related policies programmatically. This complements its object management and device inventory capabilities rather than being limited to read-only monitoring.

Why this answer

Option B is correct because the Cisco Firepower Management Center (FMC) REST API exposes policy management endpoints, allowing administrators to programmatically create, read, update, and deploy access control, intrusion, and other policies via HTTPS requests to /api/fmc_config/v1/domain/{domainUUID}/policy/... . Option E is correct because the same REST API provides object management endpoints (e.g., /object/hosts, /object/networks, /object/ports) that let scripts and automation tools create, modify, and delete reusable network and port objects without manual GUI work. Option A is incorrect because the Firepower API is a RESTful/HTTP-based interface, not a C++ library or application.

Option C is incorrect because the API requires authentication, typically via token-based access using /api/fmc_platform/v1/auth/generatetoken with valid credentials, and subsequent requests must include the auth token header. Option D is incorrect because the API is accessed over HTTPS/REST rather than being limited to the CLI, and it is in fact designed for programmatic and GUI-independent access.

39
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

Cisco Umbrella delivers DNS-layer security, blocking malicious domains before connections establish, and extends protection to cloud applications and remote users. This satisfies the stem's requirement for visibility and control over cloud-based threats, since enforcement occurs at the DNS and secure web gateway layers regardless of user location or device.

Why this answer

Cisco Umbrella is a cloud-delivered security platform that provides visibility and control over internet access, including cloud-based threats. It uses DNS-layer security, secure web gateway, and cloud access security broker (CASB) functionalities to block malicious domains and enforce policies. Other Cisco security components like ISE, ASA, and Firepower focus on network access control, firewall, and on-premises threat defense, respectively.

Exam trap

SAUTO often tests the distinction between Cisco security products: candidates might confuse Umbrella with Firepower or ISE, not realizing Umbrella's unique cloud-delivered DNS security focus.

How to eliminate wrong answers

Option A is wrong because Cisco ISE (Identity Services Engine) is primarily for network access control and policy enforcement, not cloud threat visibility. Option C is wrong because Cisco ASA (Adaptive Security Appliance) is a traditional firewall/VPN device, not a cloud-based threat visibility solution. Option D is wrong because Cisco Firepower is a next-generation firewall and IPS, often deployed on-premises or in virtual form, but not specifically designed for cloud-based threat visibility like Umbrella.

40
MCQhard

A security engineer is automating Cisco Firepower Management Center (FMC) using its REST API. The script must create a new access control policy and then deploy it to managed devices. After creating the policy, the engineer attempts to deploy it but receives an HTTP 400 error stating 'Deployment failed: policy not associated with any device.' What is the most likely cause?

A.The access control policy must be assigned to at least one managed device before deployment.
B.The deployment request must include a valid 'version' parameter that matches the policy's current version.
C.The API user account lacks the 'Deploy' permission for the FMC domain.
D.The access control policy must be in 'Intrusion Prevention' mode before deployment.
AnswerA

In Cisco FMC, an access control policy must be associated with one or more managed devices before it can be deployed. The error explicitly indicates no device association. The engineer must update the policy's device assignments via the API or GUI. This is a common step often overlooked when automating policy creation.

Why this answer

The error 'policy not associated with any device' clearly indicates that the access control policy has not been assigned to any managed devices in FMC. Before deployment, policies must be associated with devices. This is a required step in the FMC workflow, and automating policy creation must include updating device assignments to avoid this error.

Exam trap

The trap here is focusing on versioning or permissions when the error message explicitly points to missing device association, which is a prerequisite for deployment.

41
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

The requests library offers a simple, human-readable API for HTTP verbs, automatic JSON decoding, session handling and persistent connections, which suits Cisco Security APIs' REST and token-based authentication models better than lower-level alternatives such as urllib.

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.

42
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
C.json
D.pandas
AnswerC

The json module ships with Python's standard library and provides json.loads() to deserialise FMC's nested JSON responses into dictionaries and lists. No third-party installation is needed, and it handles arbitrary nesting depth, making it the standard choice for this parsing task.

Why this answer

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

43
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

OAuth 2.0 issues scoped, time-limited access tokens, letting Cisco SecureX call APIs without exposing user credentials. This satisfies the stem's requirement for the most commonly used API authentication method, as token-based delegation is the standard mechanism for secure, automated integrations across cloud services.

Why this answer

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

44
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

Cisco TID ingests threat intelligence feeds and publishes the resulting IoCs directly to integrated security devices, automating distribution across the stack. This satisfies the stem's requirement to automate IoC sharing rather than relying on manual feed configuration.

Why this answer

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

45
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

Stealthwatch's API authenticates via username and password credentials, or an API key, to obtain a token for subsequent calls. This satisfies the stem's question about the authentication type used, distinguishing it from certificate-based or OAuth-only schemes.

Why this answer

The Cisco Stealthwatch (now Secure Network Analytics) API authenticates using a username and password (or an API key/token derived from credentials) via Basic authentication to obtain a bearer token. Automation scripts POST credentials to the token endpoint and then use the returned JWT for subsequent calls. This is the documented authentication model for the Stealthwatch Management Console (SMC) API.

Exam trap

SAUTO often tests whether candidates assume all Cisco security APIs use OAuth 2.0, so the trap is picking OAuth Client Credentials instead of Stealthwatch's username/password token model.

How to eliminate wrong answers

Option A is wrong because Stealthwatch does not use X.509 client certificates for API authentication — that is more typical of mutual-TLS setups in other platforms. Option B is wrong because TACACS+ is a device-administration AAA protocol for CLI access, not an API authentication mechanism. Option C is wrong because OAuth 2.0 Client Credentials is used by other Cisco platforms (e.g., SecureX, Umbrella), not by the Stealthwatch SMC API, which relies on username/password token exchange.

46
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

A 409 Conflict signals a duplicate-resource violation, so the guest account already exists in Cisco ISE. The ERS API rejects the create request because the username or guest record collides with an existing entry, satisfying the stem's constraint that provisioning failed due to a pre-existing account rather than authentication or syntax errors.

Why this answer

In the Cisco ISE External RESTful Services (ERS) API, HTTP 409 Conflict indicates a resource conflict — most commonly that the object you are trying to create (e.g., a guest account with a given username) already exists in ISE. The correct handling is to detect the existing object, update it via PUT, or choose a unique identifier. This is standard REST semantics and ISE follows it for duplicate guest, endpoint, and identity-group creations.

Exam trap

SAUTO often tests whether candidates can distinguish 409 Conflict (duplicate resource) from 400 Bad Request (malformed payload) and 401/403 (auth issues), so the trap is picking the malformed-body answer.

How to eliminate wrong answers

Option A is wrong because invalid credentials produce 401 Unauthorized (or 403 Forbidden for insufficient role), not 409. Option C is wrong because a malformed request body produces 400 Bad Request, often with a validation error message. Option D is wrong because exceeding the ISE ERS rate limit produces 429 Too Many Requests, not 409.

47
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

Cisco SecureX Orchestration provides workflow-based integration across multiple Cisco security APIs, centralising authentication, actions and data flows in one platform. This satisfies the requirement to manage disparate security APIs from a single orchestration layer rather than separate per-product tooling.

Why this answer

Cisco SecureX Orchestration is the platform designed to centralize, build, and run workflows that call security APIs across multiple Cisco and third-party products. It provides a visual workflow editor, prebuilt activities, and connectors so teams can orchestrate responses across FMC, Umbrella, Secure Endpoint, ISE, and more from a single place.

Exam trap

SAUTO often tests whether candidates can distinguish product-specific management consoles (FMC, ISE, Umbrella) from the cross-platform orchestration layer — the trap is picking a product that only manages its own domain.

How to eliminate wrong answers

Option A is wrong because Cisco FMC (Firepower Management Center) manages Firepower firewalls and their policies — it is not a cross-platform API orchestration tool. Option B is wrong because Cisco ISE is a network access control and identity policy platform, not a general API orchestration hub. Option D is wrong because Cisco Umbrella is a cloud security service (DNS/SWG/CASB) — it exposes APIs but does not centralize management of other platforms' APIs.

48
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

SecureX Threat Response represents indicators such as IPs, domains, file hashes and URLs as Observables, the atomic searchable units submitted to the inspect endpoint. Using Observable as the parameter satisfies the threat-hunting scenario by letting the API return verdicts and sightings for that indicator.

Why this answer

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

49
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

ERS exposes ISE's configuration objects through full CRUD semantics, letting automation create, read, update and delete endpoints, identity groups and network devices. This satisfies the stem's requirement for a management API capable of programmatic object lifecycle operations rather than read-only monitoring.

Why this answer

Option B is correct because the Cisco ISE External RESTful Services (ERS) API is designed to let administrators programmatically perform Create, Read, Update, and Delete (CRUD) operations against ISE resources such as endpoints, identity groups, and network devices. Option E is correct because ERS is built on RESTful principles, using standard HTTP methods (GET, POST, PUT, DELETE) over HTTPS with XML or JSON payloads to interact with ISE. Option A is incorrect because ERS uses standard HTTP/HTTPS rather than a proprietary binary protocol.

Option C is incorrect because ERS is an API for programmatic access, not a CLI interface. Option D is incorrect because ERS works with ISE deployments including virtual appliances, not only physical appliances.

50
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

Updating an existing guest user is an idempotent modification of a known resource, so ERS expects PUT against the collection path plus the resource ID. The body carries the changed attributes, and the ID in the URI identifies which guestuser record to modify.

Why this answer

Cisco ISE ERS uses PUT to update an existing guest user resource, with the URI pattern /ers/config/guestuser/{id} where {id} is the guest user's unique identifier. This follows REST conventions where PUT replaces or updates the identified resource.

Exam trap

SAUTO often tests the assumption that PATCH or a custom 'update' endpoint is used for modifications, when ISE ERS strictly uses PUT with the resource ID.

How to eliminate wrong answers

Option A is wrong because POST /ers/config/guestuser/update is not a valid ERS endpoint; POST is used to create resources, not update them, and 'update' is not a resource path. Option B is wrong because UPDATE is not a valid HTTP method. Option C is wrong because PATCH is not supported by ISE ERS for guest user updates; ISE ERS uses PUT for updates.

51
MCQmedium

A security automation engineer is writing a Python script that uses the Cisco Firepower Management Center (FMC) REST API to modify an existing access control policy. The script must first obtain the current policy object, change its default action, and then submit the update. Which HTTP method and endpoint pattern should the script use to apply the change to the existing policy?

A.PUT to /api/fmc_config/v1/domain/{domainUUID}/policy/accesspolicies/{objectId}
B.POST to /api/fmc_config/v1/domain/{domainUUID}/policy/accesspolicies
C.PUT to /api/fmc_config/v1/domain/{domainUUID}/policy/accesspolicies
D.PATCH to /api/fmc_config/v1/domain/{domainUUID}/policy/accesspolicies/{objectId}
AnswerA

The FMC REST API uses PUT to replace or update an existing access control policy resource. The endpoint includes the domain UUID and the policy's objectId to identify the exact policy. The request body must contain the full policy representation with the modified default action. This is the correct method for updating an existing policy.

Why this answer

To modify an existing access control policy in FMC, the REST API requires a PUT request to the specific policy resource, identified by its objectId in the URL. The request body must contain the complete policy object with the desired changes. POST is for creation, and PATCH is not supported for this resource, so those methods would not achieve the required update.

Exam trap

The trap here is assuming that PATCH can be used for partial updates, but the FMC API does not support PATCH for access control policies.

52
MCQmedium

An engineer is automating Cisco Identity Services Engine (ISE) using the External RESTful Services (ERS) API. After creating a new endpoint group with a POST request, the engineer wants to verify the group was created and retrieve its unique identifier. Which HTTP method and endpoint should be used to retrieve the details of the newly created endpoint group?

A.PUT /ers/config/endpointgroup/{id}
B.DELETE /ers/config/endpointgroup/{id}
C.POST /ers/config/endpointgroup/{id}
D.GET /ers/config/endpointgroup/{id}
AnswerD

The ERS API supports retrieving a specific endpoint group by its ID using a GET request to /ers/config/endpointgroup/{id}. This returns the group's details, including its unique identifier. After creating a group, the response typically includes a Location header with the URL, but a GET to that URL confirms the resource and provides the ID. This is the standard REST pattern for reading a resource.

Why this answer

The correct approach is to use a GET request to the specific endpoint group resource by ID. This retrieves the group's details and confirms its creation. The other methods either create, update, or delete the resource, which are not appropriate for verification.

The ERS API follows REST conventions, so GET is the standard for reading.

Exam trap

The trap here is confusing the HTTP method for retrieval with methods that modify state, such as POST or PUT, when the goal is simply to read a resource.

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

A sandbox provides an isolated environment where developers can safely call APIs, test code and experiment without affecting production systems or live data. This directly satisfies the stem's requirement for a safe development and testing space, which is the sandbox's primary function in Cisco DevNet.

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

Swagger/OpenAPI specifications are a documented API documentation type, publishing machine-readable endpoint schemas, parameters and response models. This satisfies the stem's requirement for a genuine Cisco Security API documentation category, since these specifications are formally maintained and distributed for Cisco security APIs.

Why this answer

Option A (Swagger/OpenAPI specifications) is correct because Cisco Security APIs publish machine-readable interface definitions in Swagger 2.0 or OpenAPI 3.0 format, which document endpoints, HTTP methods, parameters, authentication schemes, and response schemas for programmatic consumption. Option B (Developer portal HTML/web docs) is correct because Cisco hosts human-readable API reference documentation on developer portals such as developer.cisco.com, providing guides, endpoint descriptions, and code samples in HTML/web form. Option C is incorrect because physical paper manuals are not a recognized API documentation type for Cisco Security APIs.

Option D is incorrect because Cisco does not distribute API source code as a documentation format. Option E is incorrect because voice-recorded tutorials are not a standard API documentation type.

Exam trap

SAUTO often tests whether candidates recognize that Cisco API documentation is delivered as Swagger/OpenAPI specs and developer portal web docs — distractors like 'source code' and 'paper manuals' exploit unfamiliarity with modern API documentation practices.

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

Least Privilege limits each API consumer and service account to only the permissions its function requires, shrinking the blast radius if credentials leak. This directly satisfies the stem's demand for a core secure network design principle governing API authorisation scope.

Why this answer

Option A (Principle of Least Privilege) is correct because secure API design requires that each API consumer, service account, or token be granted only the minimum scopes, roles, and permissions needed to perform its function, limiting the blast radius of a compromised credential. Option B (Use of TLS for all API communication) is correct because APIs frequently carry authentication tokens, session data, and sensitive payloads, so transport encryption via TLS (ideally TLS 1.2/1.3 with strong cipher suites) prevents eavesdropping and man-in-the-middle interception. Option C (Audit logging for all API transactions) is correct because recording who called which endpoint, when, from where, and with what result provides the traceability needed for intrusion detection, incident response, and compliance.

Option D is not a core secure design principle because exposing all API endpoints directly to the public internet unnecessarily enlarges the attack surface; secure designs use gateways, WAFs, private endpoints, or network segmentation instead. Option E is not a secure principle because default vendor API credentials are widely known and must be changed or rotated immediately; relying on them invites unauthorized access.

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

Meta or pagination information accompanies the payload, carrying counts, page numbers and next/previous links so clients can iterate large result sets. Its presence satisfies the question's requirement for a field commonly found in JSON API response objects.

Why this answer

Option A (Meta/Pagination info) is correct because JSON API responses commonly include a meta object carrying pagination details such as total count, page number, page size, and next/previous links, which clients use to navigate large result sets. Option B (Status code/Message) is correct because responses typically embed a status indicator and human-readable message (e.g., "status": "success" or an error message) so the client can interpret the outcome independently of the HTTP status line. Option D (Data field (payload)) is correct because the data field is the core container holding the requested resource or collection, such as "data": [...] or "data": {...}, and is the primary content the API returns.

Option C (System BIOS version) does not belong because BIOS version is hardware/firmware metadata unrelated to an API response schema. Option E (Physical location of the server) does not belong because a server's physical location is infrastructure information and is not a standard field in JSON API response objects.

Exam trap

SAUTO often tests whether candidates can distinguish API envelope fields (data, status, meta) from arbitrary resource attributes, tempting them to select infrastructure details that sound technical but are not part of the response contract.

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 replaces the entire resource representation, sending the complete object body so unspecified fields are overwritten. POST would create or invoke actions, and PATCH applies partial merges, so PUT is required for a full update of the existing FMC object.

Why this answer

PUT is the HTTP method defined by RFC 7231 to replace the entire resource representation at the target URI. When updating an existing FMC object via the REST API, PUT sends the complete object body, so any field omitted from the payload is reset to its default or removed. This full-replacement semantic is exactly what the question requires for a 'full update' of the resource.

Exam trap

The trap here is confusing PUT with PATCH — candidates often assume any update uses PATCH, but the exam specifically tests that PUT replaces the entire representation while PATCH only modifies supplied fields.

How to eliminate wrong answers

Option B is wrong because POST is used to create a new subordinate resource or invoke an action, not to replace an existing resource representation at a known URI. Option C is wrong because GET is a safe, read-only method used to retrieve a resource and cannot modify it. Option D is wrong because PATCH performs a partial update, applying only the fields present in the request body rather than replacing the full representation.

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 networkaddresses endpoint requires both name and value; type alone is insufficient. Omitting the mandatory value attribute causes FMC's schema validation to reject the payload with 400 Bad Request, so supplying the IP address or subnet in value resolves the error.

Why this answer

The FMC network address object schema requires both a 'name' and a 'value' field; 'value' holds the actual IP address or network (e.g., '10.0.0.0/24'). Omitting it produces a 400 Bad Request because the JSON payload fails schema validation, even though the name and type are present.

Exam trap

SAUTO often tests whether candidates can distinguish HTTP status codes (400 vs 403 vs 404 vs 415) and map them to root causes, so the trap is blaming authentication or URL issues when the code clearly indicates a payload validation failure.

How to eliminate wrong answers

Option A is wrong because an incorrect domainUUID typically returns 404 Not Found or 403 Forbidden, not 400 Bad Request, and the URL structure would still be valid. Option B is wrong because a missing Content-Type header usually returns 415 Unsupported Media Type, not 400, and FMC's API defaults to JSON in many cases. Option C is wrong because insufficient role permissions return 403 Forbidden, not 400 Bad Request — the request is syntactically valid but unauthorized.

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

A service account exists independently of any employee, so scripts continue authenticating even when staff leave, change roles or have credentials rotated. This decoupling satisfies the requirement that automation remain stable and auditable rather than tied to individual employee identity.

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

A dedicated lab or sandbox provides an isolated Cisco environment where API calls can be exercised without affecting production devices. This satisfies the requirement to validate request formats, authentication and responses safely before any deployment to live infrastructure.

Why this answer

Option A is correct because a dedicated lab or sandbox environment provides an isolated, non-production space where Cisco API calls (for example against Cisco DNA Center or Meraki sandbox endpoints) can be exercised safely without impacting live infrastructure. Option B is correct because Postman and similar API client tools let you construct and send HTTP requests (GET, POST, PUT, DELETE) with headers, authentication tokens, and JSON bodies, then inspect status codes and responses to validate the API before deployment. Option C is wrong because running scripts directly in production risks service disruption and is not a valid pre-deployment test method.

Option D is wrong because having a colleague rewrite the script does not test the API. Option E is wrong because guessing the API structure cannot validate endpoints, parameters, or authentication.

61
MCQmedium

You are developing a Python script to automate Cisco Umbrella enforcement of security policies. The script must retrieve the list of identities and then apply a block action to a specific domain. Which API endpoint and method should you use to apply the block action?

A.POST to /policies/{policyId}/block with a JSON body containing the domain.
B.GET to /policies/{policyId}/blocklist?domain=example.com to add the domain to the block list.
C.PUT to /policies/{policyId}/blocklist with a JSON body containing the domain to block.
D.POST to /policies/{policyId}/blocklist with a JSON body containing the domain to block.
AnswerD

In Cisco Umbrella, you manage block lists via the /policies/{policyId}/blocklist endpoint. Adding a domain to the block list is done with a POST request. This action applies the block for that policy. The JSON body includes the domain. This is the correct method to enforce a block action.

Why this answer

To block a domain in Cisco Umbrella, you add it to a policy's block list. The API endpoint /policies/{policyId}/blocklist supports POST to add a domain. This is the correct method to apply a block action programmatically.

Using POST ensures the domain is appended to the existing block list.

Exam trap

The trap here is confusing PUT and POST for list management, or assuming a direct block endpoint exists, when the correct action is to POST to the blocklist endpoint.

62
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 Cisco Threat Response API exposes the `/iroh/iroh-enrich/verdicts` endpoint, returning verdicts for a given observable such as an IP address. It satisfies the stem's requirement to retrieve verdicts programmatically, unlike the Cisco Security Management or Umbrella Enforcement APIs, which handle policy and blocklist actions rather than enrichment verdicts.

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.

63
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

A GET to the accesspolicies resource under the specified domain UUID retrieves the collection of access control policies defined in that domain. It returns policy metadata and links, satisfying the scenario's need to enumerate existing policies rather than fetch a single policy or its rules.

Why this answer

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

64
MCQmedium

You are automating Cisco Identity Services Engine (ISE) using the External RESTful Services (ERS) API. Your Python script needs to query all network devices and then update a specific device group. After authenticating with HTTPS Basic Authentication, you receive an HTTP 401 response when attempting to retrieve devices. Which action should you take to resolve this?

A.Disable SSL certificate verification in your Python script to allow the connection to proceed.
B.Change the HTTP method from GET to POST and include a JSON body with the device details.
C.Add the 'Accept: application/json' header to the request to ensure the server returns JSON instead of XML.
D.Include the 'ERS-Read-Only' or 'ERS-Admin' role in the API user's admin group and ensure the account is not disabled.
AnswerD

Cisco ISE ERS API requires the API caller to have the appropriate admin role, such as ERS-Admin or ERS-Read-Only, assigned via the admin group. A 401 Unauthorized indicates authentication failure, often due to missing role or disabled account. Verifying and correcting the API user's role and status directly addresses the issue.

Why this answer

A 401 Unauthorized response from the Cisco ISE ERS API indicates that the provided credentials are not accepted or the account lacks necessary permissions. The ERS API requires the API user to be assigned to an admin group with ERS-Admin or ERS-Read-Only roles. Ensuring the account is active and has the correct role resolves the authentication failure.

Exam trap

The trap here is assuming that a 401 error is caused by missing headers or incorrect HTTP methods, when it specifically points to invalid credentials or insufficient permissions.

65
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

The X-Auth-Access-Token header carries the access token issued by Microsoft Entra ID, enabling the FMC API to authenticate each request without resending credentials. This satisfies the stem's authentication requirement by supplying the bearer credential the API validates before processing the call.

Why this answer

The FMC REST API uses a token-based authentication model: after POSTing credentials to /api/fmc_platform/v1/auth/generatetoken, the response includes X-auth-access-token (and a refresh token). Every subsequent API call must include that token in the X-Auth-Access-Token header so FMC can associate the request with the authenticated session. It is purely an authentication artifact, not a routing or versioning parameter.

Exam trap

SAUTO often tests whether candidates conflate authentication headers with request-routing or versioning parameters, causing them to pick options that describe URL path elements instead of the token header's real purpose.

How to eliminate wrong answers

Option B is wrong because the target device is specified in the URL path (e.g., /api/fmc_config/v1/domain/{domainUUID}/devices/devicerecords/{objectId}), not in an authentication header. Option C is wrong because API version is encoded in the URI path segment (v1, v2) and negotiated via the domain UUID, not via X-Auth-Access-Token. Option D is wrong because debugging is controlled through FMC logging settings and query parameters, not through the auth token header.

66
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

Regular rotation limits the window in which a leaked or stolen API key remains usable, containing exposure if credentials are compromised. This reduces the blast radius of credential theft and is a foundational practice for managing long-lived API keys securely.

Why this answer

Option A (Rotate keys regularly) is correct because periodic rotation limits the window of exposure if a key is leaked or compromised, and it supports compliance requirements such as those in PCI DSS and NIST guidelines. Option B (Use least privilege access for keys) is correct because scoping each key to only the permissions and resources it needs reduces the blast radius of a compromised key, following the principle of least privilege. Option C (Never hardcode keys in scripts) is correct because hardcoded keys end up in source control, logs, and build artifacts, where they are easily exposed; instead, keys should be stored in a secrets manager or injected via environment variables at runtime.

Option D is wrong because reusing one key across every project violates least privilege and isolation, so a single leak compromises all projects and makes auditing impossible. Option E is wrong because email is unencrypted in transit and at rest on many servers, so sharing keys that way exposes them to interception and unauthorized access; keys should be distributed through a secure secrets management system.

67
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

Deploying to a sandbox or staging environment validates the ASA rule syntax and behaviour before production, catching errors that would otherwise disrupt live traffic. This satisfies the stem's requirement to confirm changes are correct prior to applying them.

Why this answer

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

68
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

Cisco Identity Services Engine publishes contextual identity and posture data over pxGrid, letting other platforms consume that information for policy decisions. This matches the stem's requirement for the product using pxGrid to share context with network devices.

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.

69
MCQeasy

A network security engineer is writing a Python script to interact with the Cisco Identity Services Engine (ISE) External RESTful Services (ERS) API. The script must create a new endpoint and then retrieve its details. Which HTTP status code should the script expect upon successful creation of the endpoint?

A.302 Found
B.200 OK
C.204 No Content
D.201 Created
AnswerD

The ISE ERS API returns HTTP 201 Created when a new resource is successfully created via POST. This status indicates that the request has been fulfilled and resulted in a new resource being created. The response typically includes a Location header with the URI of the new resource.

Why this answer

The ISE ERS API follows REST conventions and returns HTTP 201 Created when a new resource is successfully created via a POST request. This status confirms the creation and often includes a Location header pointing to the new resource. A 200 OK is used for successful GET or PUT, but not for creation.

Exam trap

The trap here is assuming that any successful request returns 200 OK, overlooking that 201 Created is the specific code for resource creation in REST APIs.

70
MCQmedium

A security engineer is automating Cisco Identity Services Engine (ISE) using the REST API. The script must retrieve a list of all network devices configured in ISE. Which API endpoint should the engineer use?

A.GET /api/v1/device-administration
B.GET /api/v1/network-device-group
C.GET /api/v1/identity-group
D.GET /api/v1/network-device
AnswerD

This endpoint returns a list of all network devices in Cisco ISE. It supports filtering, sorting, and pagination. The response includes device details such as name, IP address, and device type. This is the correct endpoint for retrieving network devices programmatically.

Why this answer

The Cisco ISE REST API provides a dedicated resource for network devices at /api/v1/network-device. A GET request to this endpoint returns all network devices. Other endpoints deal with device groups, identity groups, or administrative settings, none of which return the list of network devices.

Exam trap

The trap here is selecting the network-device-group endpoint, which sounds similar but returns groups, not the devices themselves.

71
MCQeasy

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

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

Python dominates Cisco security automation because Cisco exposes SDKs such as requests-based RESTCONF and YANG tooling, plus libraries for SecureX and Firepower. It satisfies the stem as the language with the broadest first-party Cisco automation support.

Why this answer

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

72
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

Sending a POST to /api/fmc_platform/v1/auth/generatetoken returns the authentication token required for subsequent FMC REST API calls, satisfying the stem's authentication requirement. The token is supplied via the X-auth-access-token header, and the call uses HTTP Basic credentials.

Why this answer

Option B is correct because the FMC REST API requires you to POST to the token-generation endpoint /api/fmc_platform/v1/auth/generatetoken, supplying credentials (typically Basic Auth) to obtain an authentication token. Option E is correct because the token returned in the response's X-auth-access-token header must be captured and reused in subsequent API calls as the authentication credential. The other options are incorrect: A is not one of the two required steps since Basic Auth is only the mechanism used within the generatetoken POST, not a standalone required step; C is unnecessary because a GET to the root URL does not authenticate you; and D is wrong because credentials must not be placed in the URL query string, as the FMC API expects them in the request header/body of the token request.

73
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

Notifications flow only through an established pxGrid connection, so the controller's status and the client's connection state must be verified first. If the controller is down or the session is not subscribed, no notifications will ever arrive.

Why this answer

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

74
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

Firepower objects use REST semantics: GET returns the object's current representation, including its version identifier, then PUT submits the modified body. Supplying the retrieved state prevents overwriting concurrent changes and satisfies the API's version-check requirement.

Why this answer

The correct workflow for updating a Cisco Firepower object via the REST API is to first perform a GET request to retrieve the current representation of the object, modify the desired fields, and then send a PUT request with the complete updated object. This ensures that all existing properties are preserved and only the intended changes are applied. The Firepower Management Center (FMC) API requires the full object body for PUT operations, so retrieving the current state is mandatory to avoid overwriting unspecified fields with nulls or defaults.

Exam trap

SAUTO often tests the misconception that REST APIs support partial updates via PATCH or that POST can be used for updates, but Cisco Firepower specifically requires a full-object PUT after a GET, and candidates who assume flexibility from other APIs fall for distractor options like PATCH or DELETE-then-POST.

How to eliminate wrong answers

Option A is wrong because POST to an object ID is not a valid update method; POST is used to create new resources, and targeting an existing ID with POST typically results in an error or unintended duplication. Option B is wrong because PATCH is not supported for Firepower object updates; the API does not accept partial modifications, and attempting to PATCH the entire configuration file is both technically invalid and impractical. Option C is wrong because deleting and recreating an object changes its unique identifier, breaks references from policies or rules, and is not an atomic update, leading to potential inconsistencies and downtime.

75
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

The ETag header carries a resource version identifier; clients return it via If-Match so the ASA rejects updates when the resource changed since retrieval, preventing lost updates. This satisfies the stem's concurrency control requirement by enforcing optimistic locking on conflicting simultaneous 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.