Courseiva

Cisco Automating and Programming Cisco Security Solutions (SAUTO, 300-735, CCNP Security) (SAUTO) (SAUTO) — Questions 226281

281 questions total · 4pages · All types, answers revealed

Page 3

Page 4 of 4

226
MCQhard

You are automating the quarantine of emails in Cisco Secure Email (formerly IronPort). Which API interaction is required to trigger a move of a specific message ID into the quarantine?

A.DELETE /msg/{mid}
B.GET /msg/quarantine?mid={id}
C.POST /msg/action with the 'quarantine' command and MID
D.PUT /policy/quarantine/{mid}
AnswerC

This is the documented API call to perform actions like quarantine on a Message ID.

Why this answer

The Secure Email Message Tracking API allows you to perform actions on specific messages, including 'quarantine' via a POST request to the message action endpoint.

227
MCQmedium

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

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

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

Why this answer

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

228
MCQmedium

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

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

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

Why this answer

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

229
MCQeasy

When using NETCONF to manage a Cisco device, which message type is used to establish the initial session and exchange capability information?

A.<rpc>
B.<ok>
C.<rpc-reply>
D.<hello>
AnswerD

The <hello> message starts the session.

Why this answer

The <hello> element is the first message exchanged in a NETCONF session to identify capabilities.

230
MCQhard

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

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

Service accounts prevent script failure when employees leave.

Why this answer

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

231
Multi-Selectmedium

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

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

Safest way to test.

Why this answer

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

232
Multi-Selectmedium

Which TWO actions can be automated via the Cisco Secure Endpoint API to improve incident response?

Select 2 answers
A.Scan host
B.Reboot device
C.Isolate host
D.Provision user
E.Update firewall rule
AnswersA, C

Essential for IR.

Why this answer

Isolating a host and scanning a host are primary automation actions in Secure Endpoint.

233
Multi-Selecthard

Which THREE features are provided by the Cisco SecureX API documentation?

Select 3 answers
A.Request examples
B.Schema definitions
C.Pricing information
D.Endpoint definitions
E.Hardware installation guides
AnswersA, B, D

Essential for developers.

Why this answer

The API documentation provides endpoints, request examples, and schema definitions.

234
MCQhard

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

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

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

Why this answer

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

235
MCQhard

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

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

Correct path for retrieving access policies.

Why this answer

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

236
Multi-Selecthard

Which THREE factors influence the rate limit for Cisco Security APIs?

Select 3 answers
A.Hardware version
B.Subscription tier
C.Browser type
D.API endpoint
E.Organization ID
AnswersB, D, E

Defines API entitlement.

Why this answer

Rate limits are typically determined by the subscription tier, endpoint, and user/org context.

237
Multi-Selecthard

Which TWO of the following are valid ways to obtain threat intelligence data within the Cisco SecureX ecosystem?

Select 2 answers
A.Querying the SecureX CTIA API
B.Using a local script to scrape the Dark Web
C.Manually downloading CSV files from random websites
D.Directly modifying the underlying Cisco Talos database
E.Configuring integrated threat intelligence modules in the SecureX dashboard
AnswersA, E

The CTIA API is the primary way to interact with intelligence.

Why this answer

SecureX integrates threat intelligence via the CTIA API and by leveraging integrated third-party feeds that report back to the SecureX Threat Intelligence module.

238
Multi-Selecthard

Which THREE headers are commonly used when sending authenticated requests to Cisco Security APIs?

Select 3 answers
A.Content-Type
B.Cookie
C.User-Agent
D.Authorization
E.Accept
AnswersA, D, E

Required for data format definition.

Why this answer

Authorization, Content-Type, and Accept are standard headers for RESTful API interaction.

239
MCQeasy

Which YANG node type is used specifically to group reusable definitions that can be imported by other modules?

A.typedef
B.leaf
C.grouping
D.container
AnswerC

A grouping is used to define a block of nodes that can be reused.

Why this answer

In YANG, the 'grouping' statement is used to define a collection of nodes that can be reused across multiple locations.

240
MCQeasy

What is the benefit of integrating Cisco Threat Grid with Secure Endpoint?

A.Automated firewall blocking
B.Automated user provisioning
C.Automated file analysis
D.Automated email filtering
AnswerC

Integration enables automated sandboxing of files.

Why this answer

Automatic sandbox analysis of suspicious files increases detection speed and accuracy.

241
MCQhard

You are automating the deletion of an indicator in Cisco Threat Grid. Which HTTP method must be used to ensure the request is idempotent and compliant with the RESTful design of the API?

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

DELETE is the correct idempotent method for resource removal.

Why this answer

The DELETE method is the standard RESTful way to remove a resource, and it is defined as idempotent, meaning multiple identical requests result in the same state (the resource is gone).

242
MCQhard

In a Cisco REST API implementation using Python, you receive a '429 Too Many Requests' error. What is the appropriate programmatic response?

A.Switch the request method from GET to POST.
B.Disable SSL verification for subsequent calls.
C.Increase the timeout duration of the request.
D.Implement an exponential backoff strategy.
AnswerD

Backoff allows the client to wait and retry without overwhelming the server.

Why this answer

A 429 error indicates rate limiting; the client should implement exponential backoff to reduce request frequency.

243
MCQmedium

You are automating the addition of an IP blocklist in Umbrella. You have the IP address and the list ID. Which HTTP method and path is correct?

A.GET /v1/destinationlists/{listId}
B.POST /v1/destinationlists/{listId}/destinations
C.PUT /v1/destinationlists/{listId}/destinations
D.PATCH /v1/destinationlists/{listId}
AnswerB

This is the correct path for adding destinations to a list.

Why this answer

Adding an entry to a destination list uses the POST method on the specific list resource.

244
MCQhard

You are writing a script to automate firewall rules. When using the 'pyang' tool, what is the primary purpose of the '--format' option?

A.To translate the YANG model into a specific output format.
B.To set the recursion depth of the model tree.
C.To define the input file encoding.
D.To specify the YANG module version.
AnswerA

The --format flag allows pyang to transform YANG files into documentation or code structures.

Why this answer

The --format option in pyang is used to specify the output format, such as tree, json, or xsd, for a given YANG model.

245
MCQhard

In the context of NETCONF, which capability allows a client to explicitly lock the datastore to prevent other users from making changes?

A.urn:ietf:params:netconf:capability:rollback
B.urn:ietf:params:netconf:capability:exclusive-access
C.urn:ietf:params:netconf:capability:write-only
D.urn:ietf:params:netconf:capability:candidate:1.0
AnswerD

The candidate datastore supports the <lock> operation.

Why this answer

The :candidate capability allows the use of the <lock> operation to ensure exclusive configuration access.

246
Multi-Selecteasy

Which THREE of the following are common JSON data types?

Select 3 answers
A.number
B.string
C.class
D.boolean
E.pointer
AnswersA, B, D

Standard JSON type.

Why this answer

Strings, numbers, and booleans are standard, fundamental JSON types.

247
MCQeasy

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

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

This header provides the token required for authorized access.

Why this answer

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

248
MCQeasy

When using the Cisco Umbrella Reporting API, which format is the default output for retrieving threat activity logs to ensure compatibility with most data analysis tools?

A.XML
B.Binary
C.JSON
D.CSV
AnswerC

JSON is the standard output format for Umbrella API endpoints.

Why this answer

The Cisco Umbrella Reporting API defaults to JSON format, which is the standard for most security automation and data analysis platforms.

249
Multi-Selectmedium

When automating threat hunting using the Cisco Umbrella Reporting API, which THREE of the following request parameters are commonly used to filter DNS query logs?

Select 3 answers
A.threat_score
B.from
C.domain
D.source_ip
E.to
AnswersB, C, E

Required to define the start time of the query range.

Why this answer

The Umbrella Reporting API supports filtering by domain, time range, and query type to narrow down search results.

250
Multi-Selecthard

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

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

Reduces impact of compromised keys.

Why this answer

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

251
MCQmedium

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

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

Staging ensures configuration validity.

Why this answer

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

252
Multi-Selecthard

Which TWO of the following are true regarding the use of the Python 'requests' library?

Select 2 answers
A.It only supports the synchronous execution model.
B.It can automatically serialize dictionaries to JSON via the json parameter.
C.It simplifies HTTP interactions with methods like .get() and .post()
D.It requires manual management of connection pools.
E.It is only compatible with Python 2.7.
AnswersB, C

The json parameter is a key feature of requests.

Why this answer

The 'requests' library automatically handles connection pooling and provides simple methods for common HTTP verbs.

253
MCQeasy

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

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

ISE is the core identity platform for pxGrid integration.

Why this answer

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

254
MCQhard

You are automating threat hunting in Cisco SecureX. You want to execute a workflow that pivots from an IP address to associated domains. Which SecureX API component allows you to perform these relationship lookups?

A.Pivot API
B.Orchestration Query API
C.Threat Intelligence API
D.Relationship Discovery Service
AnswerC

The Threat Intelligence API provides observable relationship data.

Why this answer

The SecureX Threat Intelligence API provides relationship lookups between observables.

255
MCQhard

When writing a Python request to the SecureX API, which Content-Type header is required for POST requests?

A.application/xml
B.application/x-www-form-urlencoded
C.application/json
D.text/plain
AnswerC

JSON is required for request bodies.

Why this answer

application/json is the standard content type for SecureX API payloads.

256
MCQeasy

What is the purpose of the 'Client ID' and 'Client Secret' when authenticating with the Cisco Secure Email Gateway API?

A.To directly access the email logs
B.To encrypt the email traffic
C.To obtain an OAuth 2.0 access token
D.To unlock the appliance for SSH access
AnswerC

OAuth 2.0 uses these credentials to authenticate the client and issue a bearer token.

Why this answer

These credentials are used to identify the client application to the OAuth authorization server in order to obtain a temporary access token.

257
MCQmedium

In Postman, which feature allows you to automate a sequence of API calls and validate the output of each?

A.Tests
B.Environments
C.Mock Servers
D.Collections
AnswerA

Tests provide the scripting environment to validate responses.

Why this answer

Postman Tests allow for the execution of JavaScript code to validate response data after an API call completes.

258
MCQeasy

Which data format is primarily used by REST APIs and is considered the standard for programmatic device interaction in Cisco security environments?

A.YAML
B.JSON
C.XML
D.Binary
AnswerB

JSON is the de facto standard for web-based security APIs.

Why this answer

JSON (JavaScript Object Notation) is the lightweight, human-readable format preferred by modern REST APIs.

259
MCQhard

You are automating the extraction of SaaS security incidents from Cloudlock. You observe that incidents are being missed by your script. What is the most likely cause if your script is calling the API every 60 seconds?

A.The script is not using a 'start_time' parameter to track the last retrieved event
B.The incidents have been deleted by the user
C.The API is offline
D.The script uses POST instead of GET
AnswerA

To avoid missing events, one must use timestamps to ensure sequential fetching of data.

Why this answer

The Cloudlock API may have rate limits or specific event ingestion windows; if the script is not handling pagination or 'since' timestamps correctly, data might be skipped.

260
MCQhard

You are writing a script to update Cisco Secure Email (ESA) configuration. You need to push a new 'Content Filter' rule. Why is it recommended to perform a 'Get' request before the 'Put' request?

A.To lock the configuration database
B.To verify the user has write permissions
C.To preserve existing configuration attributes not being modified
D.To check if the API is responsive
AnswerC

This is the 'read-modify-write' pattern essential for preventing accidental misconfiguration.

Why this answer

Performing a GET before a PUT allows the script to preserve existing configuration attributes that are not being modified, preventing accidental erasure of other fields.

261
MCQeasy

What is the primary function of the Cisco Secure Email API 'Message Tracking' interface?

A.Configuring SMTP relay settings
B.Creating user mailboxes
C.Searching and retrieving email metadata
D.Updating system firmware
AnswerC

This is the primary purpose of the Message Tracking API.

Why this answer

The Message Tracking API allows administrators to search and retrieve metadata about specific emails that have passed through the gateway.

262
Multi-Selectmedium

Which TWO of the following are key features of the Cisco Cloudlock API?

Select 2 answers
A.Incident retrieval
B.Firmware deployment
C.Hardware firewall rule management
D.Packet inspection at Layer 2
E.OAuth application auditing
AnswersA, E

Retrieving security incidents is a core feature.

Why this answer

Cloudlock's API provides extensive capabilities for incident management and OAuth application auditing.

263
Multi-Selectmedium

Which THREE of the following are true regarding REST API design in Cisco security products?

Select 3 answers
A.Standard HTTP methods should be used for CRUD
B.All requests must be synchronous
C.XML is the only supported format
D.Resources are identified by unique URLs
E.Meaningful HTTP status codes indicate success or failure
AnswersA, D, E

Ensures predictability and interoperability.

Why this answer

Resource-based URLs, standard HTTP methods, and status codes are hallmarks of RESTful Cisco APIs.

264
MCQmedium

You are automating Cisco Umbrella reporting using the Reporting API. You need to pull threat activity logs for a specific destination. Which request header is mandatory to include in your HTTP GET call to authorize the request?

A.X-API-KEY
B.Authorization: Bearer <TOKEN>
C.Cookie: session_id
D.X-Auth-Token
AnswerB

The Umbrella Reporting API requires an OAuth2 Bearer token in the Authorization header.

Why this answer

Cisco Umbrella Reporting API uses a Bearer token in the Authorization header for API authentication.

265
MCQeasy

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

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

Python is the preferred language for Cisco automation.

Why this answer

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

266
MCQeasy

Which Cisco security product should you use if your main goal is to automate the blocking of malicious DNS queries?

A.Cisco Umbrella
B.Cisco Secure Web Appliance
C.Cisco Cloudlock
D.Cisco Secure Email
AnswerA

Umbrella is built specifically for DNS-layer security.

Why this answer

Cisco Umbrella is the industry-standard cloud solution for DNS-layer security and policy automation.

267
Multi-Selecthard

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

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

This is the entry point for API authentication.

Why this answer

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

268
MCQhard

You are using the Cisco Secure Endpoint (formerly AMP for Endpoints) API to query file trajectory data for a specific SHA-256 hash. The API returns a 429 Too Many Requests status code. What is the most efficient way to handle this in your automation script?

A.Switch from HTTPS to HTTP to reduce overhead.
B.Increase the API rate limit in the Cisco Secure Endpoint dashboard.
C.Force an authentication refresh on every request.
D.Implement an exponential backoff strategy with a retry logic.
AnswerD

Exponential backoff is the standard method for handling rate limits.

Why this answer

The 429 status code indicates rate limiting. Implementing exponential backoff allows the client to wait progressively longer before retrying, reducing load on the API.

269
Multi-Selectmedium

Which THREE actions are essential when designing a secure automation script that interacts with the Cisco Secure Endpoint API?

Select 3 answers
A.Use the root admin password directly in the script
B.Implement exponential backoff for rate-limited responses
C.Store API credentials in an environment variable or secrets manager
D.Disable SSL verification to increase script speed
E.Implement robust logging for all API requests and responses
AnswersB, C, E

Handling rate limits is vital for reliable automation.

Why this answer

Secure automation requires proper credential management, error handling, and audit logging to ensure the script does not introduce security vulnerabilities.

270
Multi-Selectmedium

When managing Secure Endpoint through the API, which TWO pieces of information are used to track endpoint health?

Select 2 answers
A.Event logs
B.Network speed
C.BIOS version
D.Connector status
E.Installed printer drivers
AnswersA, D

Tracks activity.

Why this answer

Event logs and connector status are key indicators of endpoint health in Secure Endpoint.

271
MCQmedium

A script interacting with Cisco Cloudlock is receiving a 429 Too Many Requests error. What should the automation script implement to handle this gracefully?

A.Increase the timeout duration
B.Exponential backoff
C.Retry immediately
D.Switch to a different API key
AnswerB

Exponential backoff is the standard mechanism to respect API rate limits.

Why this answer

Rate limiting (429) requires the implementation of an exponential backoff strategy.

272
MCQmedium

When utilizing the Cisco Secure Email Reporting API, which format is best for programmatic data processing?

A.HTML
B.JSON
C.PDF
D.Raw binary logs
AnswerB

JSON is the standard format for modern, machine-readable API payloads.

Why this answer

JSON is the standard format for most Cisco APIs, including the Reporting API, as it is easily parsed by Python and other scripting languages.

273
MCQmedium

Which component of a REST API request is used to pass information about the requested resource in the URL?

A.Cookies
B.Headers
C.Path parameters
D.Body
AnswerC

These define the specific resource path.

Why this answer

Path parameters are embedded directly into the URL to identify specific resources.

274
MCQmedium

You are managing Cisco Cloudlock settings via the API. You need to ensure that specific SaaS file-sharing events are flagged. Which API object must you target to define a new policy violation trigger?

A.Policies API
B.Configuration API
C.Audit API
D.Applications API
E.Users API
AnswerA

The Policies API allows programmatic configuration of detection logic.

Why this answer

The Cloudlock API uses the 'Policies' endpoint to create or modify triggers that flag specific SaaS events.

275
MCQmedium

You are using the Cisco Umbrella Investigate API to check if a specific IP address is associated with a known threat. Which domain of the API should you query?

A./ips/
B./files/
C./domains/
D./security/
AnswerA

The /ips/ path is used to query IP address threat data.

Why this answer

The Investigate API provides specific endpoints for domain, IP, and file hash lookups. The /ips/ endpoint is specifically for IP address intelligence.

276
MCQmedium

Which of the following is a key advantage of using the Cisco Secure Email 'AsyncOS' API over manual CLI configuration for mass blocklist updates?

A.It allows direct access to the underlying OS kernel
B.It enables programmatic and repeatable updates across multiple appliances
C.It provides faster packet-level filtering
D.It bypasses the need for authentication
AnswerB

Automation via API ensures consistency and scalability that manual CLI work cannot match.

Why this answer

The AsyncOS API allows for programmatic, idempotent updates, which reduces human error and ensures consistency across multiple appliances.

277
MCQmedium

You are using Postman to test an API that requires an API key in the header. Where should this be configured in Postman?

A.Params tab
B.Headers tab
C.Body tab
D.Authorization tab
AnswerB

Custom keys are typically added here.

Why this answer

The 'Headers' tab in the Postman request builder is where you manually add custom HTTP headers.

278
MCQhard

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

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

Verification of the active connection is essential for data flow.

Why this answer

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

279
Multi-Selectmedium

When using the Cisco Threat Grid API, which TWO methods can be used to retrieve report data?

Select 2 answers
A.GET by ID
B.DELETE by report
C.POST by ID
D.PUT by search
E.GET by search query
AnswersA, E

Direct retrieval.

Why this answer

Reports can be retrieved by ID or by searching based on specific parameters like tags or hashes.

280
MCQmedium

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

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

Standard RESTful update pattern for FMC.

Why this answer

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

281
MCQmedium

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

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

ETags track resource versions to prevent conflicts during concurrent modifications.

Why this answer

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

Page 3

Page 4 of 4

All pages