Courseiva

CCNA Cloud Web And Email Security Automation Questions

72 questions · Cloud Web And Email Security Automation topic · All types, answers revealed

1
MCQeasy

Which data format is the standard for Cisco's cloud-based security APIs?

B.YAML
C.CSV
D.XML
AnswerA

JSON is the universal language for Cisco's REST-based APIs.

Why this answer

JSON (JavaScript Object Notation) is the standard data exchange format for almost all modern Cisco security APIs.

2
MCQeasy

You need to retrieve the current status of all Cisco Umbrella 'Virtual Appliances' using the API. Which API resource is the most appropriate?

A.Networks endpoint
B.Virtual Appliances endpoint
C.Policies endpoint
D.Roaming Computers endpoint
AnswerB

This endpoint is designed to expose the state and configuration of VAs.

Why this answer

The 'Virtual Appliances' endpoint in the Umbrella API specifically provides status and heartbeat information for registered VAs.

3
MCQmedium

You are automating policy updates for Cisco Umbrella using the Umbrella Management API. You need to identify the correct endpoint to retrieve the list of destination lists for a specific organization. Which HTTP method and path should you use?

A.GET /v1/organizations/{organizationId}/destinationlists
B.GET /v1/policies/destinationlists
C.POST /v1/organizations/{organizationId}/destinationlists
D.PUT /v1/organizations/{organizationId}/destinationlists
AnswerA

This is the correct endpoint path for retrieving destination lists in the Umbrella Management API.

Why this answer

The Cisco Umbrella Management API uses the GET method with the /organizations/{organizationId}/destinationlists path to retrieve the destination lists associated with an organization.

4
Multi-Selectmedium

Which TWO of the following are valid HTTP methods supported by the Cisco Umbrella Management API?

Select 2 answers
A.POST
B.CONNECT
C.DELETE
D.HEAD
E.TRACE
AnswersA, C

POST is used for creating new resources.

Why this answer

The Umbrella Management API follows REST principles, and POST (create) and DELETE (remove) are standard methods for managing destination lists and policies.

5
MCQmedium

When automating a Cisco Secure Web Appliance (WSA) task, you need to trigger a 'policy push'. Which API component allows you to initiate this?

A.Rule Enforcement API
B.Device Sync API
C.Configuration Commit API
D.Policy Push API
AnswerC

This is the official method to apply staged configurations on WSA.

Why this answer

The WSA configuration API provides a 'commit' or 'push' endpoint to apply staged changes to the active configuration.

6
MCQhard

You are automating the 'App Firewall' in Cisco Cloudlock. You want to change an OAuth app's status from 'Approved' to 'Revoked'. Which object structure must be sent in the request body?

A.{"type": "oauth", "state": "blocked"}
B.{"action": "delete"}
C.{"user_id": "all", "action": "revoke"}
D.{"status": "revoked"}
AnswerD

The API expects a JSON body defining the target state.

Why this answer

Cloudlock's App Firewall API expects a JSON payload containing the 'app_id' and the desired 'status' field to perform state changes.

7
MCQeasy

When automating the Cisco Secure Email (ESA) configuration via the API, which file format is required to import a new set of content filters?

A.CSV
B.YAML
D.XML
AnswerD

AsyncOS configuration exports and imports are formatted in XML.

Why this answer

Cisco Secure Email uses XML for configuration exports and imports via the API.

8
MCQhard

You are automating the blocking of a specific URL on a Cisco WSA. You have verified the API reachability, but the rule is not being applied. What is the most common reason?

A.The URL is already in the global whitelist
B.The WSA needs a reboot
C.The API user does not have 'Admin' privileges
D.The configuration change was not committed
AnswerD

WSA configuration changes are staged and must be committed to take effect.

Why this answer

The WSA API often requires a 'commit' action after updating rules; without this, the changes remain in a staging area and are not active.

9
Multi-Selecthard

Which TWO of the following are mandatory fields when creating a new 'Destination List' via the Cisco Umbrella API?

Select 2 answers
A.name
B.organizationId
C.access
D.description
E.createdAt
AnswersA, C

Every list needs a unique name.

Why this answer

To create a destination list, one must provide a name and the specific list access type (block or allow).

10
MCQhard

You are automating Cisco Secure Email (ESA) using the Management API. You need to trigger an immediate update of the Anti-Spam engine. Which action is required to ensure the API call succeeds?

A.POST to /api/v1.0/config/engines/update
B.Update the config.xml file via SCP
C.Send a GET request to /config/antispam
D.Restart the appliance via API
AnswerA

The API requires a POST request to the engine update endpoint to initiate the fetch.

Why this answer

The update mechanism in the ESA Management API requires authenticated administrative access and the correct POST trigger to the engine-update resource.

11
Multi-Selectmedium

When developing an automation script for Cisco Cloudlock, which TWO authentication methods are supported for API access?

Select 2 answers
A.API Token (Secret Key)
B.Username/Password
C.OAuth2 Client Credentials
E.SSH Public Key
AnswersA, C

API tokens are used for authentication in Cloudlock integrations.

Why this answer

Cloudlock primarily uses OAuth2 Client Credentials and API Tokens for programmatic access.

12
MCQeasy

Which of the following is a key requirement for using the Cisco Umbrella API successfully?

A.Root access to the DNS server
B.A valid SNMP community string
C.A physical connection to the Cisco cloud data center
D.API Key and Secret generated in the dashboard
AnswerD

These are the mandatory credentials for authentication.

Why this answer

Generating and properly storing API keys from the Umbrella dashboard is the fundamental requirement for all API interactions.

13
Multi-Selectmedium

Which TWO of the following steps are required to automate the retrieval of reporting data from the Cisco Secure Email Gateway?

Select 2 answers
A.Authenticate using an API key
B.Reboot the appliance
C.Configure a local Syslog server
D.Enable SSH access
E.Query the Reporting API
AnswersA, E

Authentication is the first step in any API interaction.

Why this answer

To extract data, one must authenticate via the API and then query the Reporting API endpoint for the specific data set.

14
Multi-Selectmedium

Which THREE of the following are examples of SaaS security posture automation tasks you can perform with the Cloudlock API?

Select 3 answers
A.Revoking third-party OAuth tokens
B.Auditing SaaS file permissions
C.Updating system firmware
D.Configuring SMTP routing
E.Creating threat detection triggers
AnswersA, B, E

Token revocation is a key automation task.

Why this answer

Cloudlock provides API-based control over user access, application auditing, and threat detection policies.

15
MCQmedium

When integrating Cisco Umbrella with a SOAR platform, what is the best practice for handling API rate limits?

A.Implement exponential backoff
B.Use a single API key for all threads
C.Send all requests simultaneously
D.Ignore the 429 status code
AnswerA

This ensures the script waits appropriately before retrying after a rate limit hit.

Why this answer

Implementing exponential backoff logic is the standard practice for handling 429 'Too Many Requests' responses from APIs.

16
MCQmedium

You are automating the deletion of an old Umbrella API key. Why is it important to ensure that no active scripts are using this key before deletion?

A.The Umbrella dashboard will crash
B.The script will lose access immediately
C.The firewall will block all future traffic
D.The API logs will become unreadable
AnswerB

Deletion of credentials is irreversible and immediate.

Why this answer

Once an API key is deleted, any application using that key will immediately lose access, causing potential service disruption.

17
MCQmedium

When configuring the Cisco Secure Web Appliance (SWA) via the API, which object attribute is critical to ensure that a newly created policy is immediately active upon deployment?

A.enabled: true
B.priority: 0
C.deployment: 'force'
D.status: 'active'
AnswerA

The enabled boolean attribute is required to activate the policy.

Why this answer

The 'enabled' boolean flag must be set to true in the object JSON payload.

18
MCQmedium

You are developing a script to pull alerts from Cisco Cloudlock. You want to filter for 'High Severity' incidents only. Which parameter should you include in your API call?

A.severity=high
B.filter='High'
C.limit=high
D.status='critical'
AnswerA

The Cloudlock API uses this query parameter to filter incidents by severity level.

Why this answer

The Cloudlock API supports filtering incident logs via query parameters like 'severity_level' or 'severity'.

19
MCQmedium

You are writing a script to check for new security policy updates on a Cisco WSA. You notice that your script pulls the same configuration repeatedly. What should you use to check if the policy has changed?

A.ETag or Last-Modified header
B.The 'version' field in the config
C.The 'sleep' function
D.A full diff of the JSON payload
AnswerA

These headers allow for conditional GETs, preventing redundant data transfer.

Why this answer

The 'Last-Modified' header or an ETag check is the standard way to verify if a resource has changed since the last request, saving bandwidth and processing.

20
MCQhard

When interacting with the Cisco WSA API, you want to retrieve the 'System Status'. What does the 'uptime' field in the JSON response represent?

A.Time elapsed since the last log upload
B.Time elapsed since the last API call
C.Time elapsed since the last restart
D.Time elapsed since the last configuration change
AnswerC

Uptime is the standard metric for time since the last system boot.

Why this answer

The uptime field in the WSA API provides the time elapsed since the last appliance restart or service initialization.

21
MCQmedium

When using the Cisco Secure Email (formerly ESA) AsyncOS API to fetch message tracking data, what is the mandatory header required for authentication?

A.Cookie: session_id
B.Authorization
C.Bearer-Token
D.X-API-Key
AnswerB

The AsyncOS API utilizes standard HTTP Basic Auth via the Authorization header.

Why this answer

The AsyncOS API requires the 'Authorization' header using Basic authentication with encoded credentials.

22
MCQmedium

You are using the Cisco Cloudlock API to retrieve a list of users. The API returns an 'error: 403 Forbidden'. What is the most likely cause?

A.The URL is incorrect
B.The user list is empty
C.The API token lacks the required permissions
D.The API is down for maintenance
AnswerC

403 indicates a lack of authorization for the requested resource.

Why this answer

A 403 Forbidden error indicates that the API key or token used does not have the necessary permissions to access the specific endpoint or resource.

23
MCQmedium

You are using the Cisco Umbrella Investigate API to enrich an incident response playbook. Which endpoint should you query to retrieve the security status and associated domains for an IP address?

A./whois/ip/{ip}
B./threat/ip/{ip}
C./security/ip/{ip}
D./dnsdb/ip/{ip}/domain
AnswerD

This endpoint returns the domains associated with the specified IP.

Why this answer

The Investigate API provides specific endpoints for IP reputation and related domains.

24
MCQeasy

Which Cisco security product uses the 'AsyncOS' platform, and for which automation tasks is its API most commonly used?

A.Cisco Cloudlock; SaaS file inspection
B.Cisco Umbrella; DNS filtering policies
C.Cisco Firepower; firewall rule orchestration
D.Cisco Secure Email and Web Appliances; configuration and monitoring
AnswerD

AsyncOS is the OS for these appliances, and the API enables automation of their administration.

Why this answer

Cisco Secure Email and Secure Web appliances run on AsyncOS and use the AsyncOS API for reporting, configuration, and monitoring.

25
MCQeasy

Which tool is best suited for testing Umbrella API queries before deploying them into your automated production script?

A.Cisco CLI
B.Wireshark
C.Postman
AnswerC

Postman is highly effective for prototyping and testing REST API interactions.

Why this answer

Postman is the industry-standard tool for testing REST API requests and viewing JSON responses.

26
Multi-Selectmedium

When integrating Cisco Umbrella with a SIEM using the Cisco Umbrella Investigate API, which TWO pieces of information are required to authenticate and query domain status?

Select 2 answers
A.API Token
B.WSA Admin password
C.Authorization Header
D.Internal DNS server IP
E.Organization ID
AnswersA, C

The API token is the primary credential for Investigate API access.

Why this answer

The Investigate API requires an API token (key) and an Authorization header to validate requests.

27
MCQhard

You are writing a Python script to interact with the Cisco Secure Web Appliance (WSA) REST API to pull 'Access Logs'. When parsing the response, you notice the data is chunked. What is the most appropriate way to handle large log datasets when using the REST API?

A.Increase the timeout on the HTTP request
B.Use the 'limit' and 'offset' query parameters to paginate through the log data
C.Request the data in XML format instead of JSON
D.Switch to the SSH-based CLI API to download the logs
AnswerB

Pagination is the standard method for safely retrieving large log datasets from the WSA API.

Why this answer

The WSA REST API handles large datasets through pagination (offset and limit parameters) to prevent memory exhaustion on the client and server.

28
Multi-Selecteasy

Which THREE of the following are true about the Cisco Umbrella API?

Select 3 answers
A.It requires an API Key and Secret
B.It is based on REST principles
C.It is only available for Enterprise accounts
D.It is SOAP-based
E.It supports both management and reporting
AnswersA, B, E

These are necessary for authentication.

Why this answer

It is a REST-based API, supports management and reporting, and requires proper API key management.

29
MCQeasy

When automating the deployment of Cisco Umbrella virtual appliances (VAs) using APIs, what is the primary prerequisite that must be configured in the dashboard?

A.Install the Umbrella Connector on a local server
B.Enable the 'Legacy' API mode
C.Register the VAs in the Umbrella Dashboard
D.Create a dedicated API user account
AnswerC

The VAs must be active and registered in the portal to be accessible via API.

Why this answer

Before VAs can be managed or reported on via API, they must be registered in the Cisco Umbrella Dashboard under 'Deployments' > 'Core Identities' > 'Virtual Appliances'.

30
MCQhard

You want to automate the download of 'Web Access Logs' from the WSA. You have authorized your session. What is the final step before the download begins?

A.Execute a POST request to the file
B.Execute a GET request to the specific log file endpoint
C.Issue a CLI 'reboot' command
D.Run a configuration commit
AnswerB

Retrieving the file content requires a GET request to the file's resource location.

Why this answer

In WSA automation, you must select the specific log type and file, then initiate the download, usually via a GET request to the file resource.

31
MCQmedium

You are automating the addition of malicious URLs to a Cisco Umbrella destination list. After sending a POST request with the new domains, you receive a '409 Conflict' error. What is the likely cause?

A.The destination list limit has been reached
B.The API Key has expired
C.The domain already exists in the destination list
D.The domain format is invalid
AnswerC

The API returns 409 when attempting to add a duplicate entry.

Why this answer

A 409 Conflict error in the Umbrella Destination List API indicates that the domain already exists in the list.

32
MCQhard

In the context of the Cisco Cloudlock API, what is the significance of the 'app_id' field?

A.It is the unique identifier for an OAuth application
B.It is the serial number of the appliance
C.It is the identifier for the Cloudlock tenant
D.It represents the user's role
AnswerA

All App Firewall API operations require the specific app_id.

Why this answer

The 'app_id' is the unique identifier used to target specific OAuth applications when performing actions like revoking permissions or changing status.

33
Multi-Selecthard

Which THREE of the following are parameters that can be used to filter Cisco Secure Email Gateway reports via the Reporting API?

Select 3 answers
A.recipient
B.end_date
C.fan_speed
D.hardware_version
E.start_date
AnswersA, B, E

Filtering by recipient address is a core reporting function.

Why this answer

The Reporting API allows filtering by date ranges, specific message IDs, and user/sender/recipient addresses.

34
MCQmedium

You are automating the retrieval of threat intelligence logs from Cisco Secure Email Cloud Gateway. Which API interface provides the most efficient way to fetch historical message tracking logs for automated analysis?

A.AsyncOS API
B.External Threat Feeds API
C.Web Security Appliance API
D.Reporting API
AnswerD

The Reporting API is designed for extracting historical metrics and message logs.

Why this answer

The Cisco Secure Email Cloud Gateway (CES) uses the Reporting API to allow for the extraction of historical message tracking data in JSON or CSV format.

35
MCQeasy

In the context of Cisco Umbrella, what is the primary difference between the 'Management' API and the 'Reporting' API?

A.Management is for cloud, Reporting is for on-premise
B.Management for logs, Reporting for configuration
C.Management for configuration, Reporting for log data
D.There is no difference; they share the same endpoints
AnswerC

This accurately describes the functional split of the Umbrella API sets.

Why this answer

The Management API is used for configuration (policies, lists), while the Reporting API is used to extract log data and security events.

36
MCQmedium

You are automating Cisco Umbrella policy changes. You wish to update an existing policy to use a new 'Content Settings' object. Which HTTP header is required in your request to ensure the update follows optimistic concurrency control?

A.Authorization
B.If-Match
C.X-Transaction-ID
D.Content-Type
AnswerB

If-Match is the standard header for implementing optimistic concurrency via ETags.

Why this answer

The Umbrella API uses the 'If-Match' header containing an ETag to ensure that the object being updated has not changed since it was last read (optimistic locking).

37
MCQhard

You are using the Cloudlock API to fetch 'Application' data. You receive a response with a 'next_page' token. What does this indicate about the API behavior?

A.The requested data format is invalid
B.The application data is currently being updated
C.The API request failed due to rate limiting
D.The response is paginated and you must follow the link to get more records
AnswerD

Cursor-based pagination requires using the provided token to fetch the next set of data.

Why this answer

The Cloudlock API utilizes cursor-based pagination for large data sets, where the 'next_page' token provides the reference to the subsequent result set.

38
MCQhard

When configuring Cisco Cloudlock to monitor SaaS applications, you need to automate the revocation of compromised OAuth tokens. Which mechanism within the Cloudlock API allows you to programmatically trigger a token revocation event?

A.Sending a block command to the Cisco Umbrella API
B.Updating the SaaS app status to 'Disabled' in the Cloudlock console via API
C.Using the 'App Firewall' API to invoke a Revoke event on the specific token ID
D.Deleting the user account from the Cloudlock directory
AnswerC

The App Firewall API is the designated interface for managing OAuth app permissions and revoking tokens.

Why this answer

Cloudlock provides the 'Revoke' action via the 'Events' or 'App Firewall' API endpoints to handle OAuth token lifecycle management programmatically.

39
MCQeasy

You are integrating Cisco Umbrella with your SIEM using the Umbrella Reporting API. Which authentication mechanism is required to access the Reporting API endpoints?

A.Username and password in the HTTP header
B.API Key and Secret to obtain a Bearer Token
C.Shared pre-shared key (PSK)
D.Client certificate-based authentication only
AnswerB

Umbrella uses OAuth 2.0 flows requiring a client ID and secret to get an access token.

Why this answer

Umbrella API access requires a set of API keys (Key and Secret) generated in the Umbrella Dashboard, which are then used to obtain an OAuth 2.0 bearer token.

40
Multi-Selecthard

Which THREE metrics are commonly retrieved from the Cisco Secure Email (ESA) Reporting API to monitor mail flow health?

Select 3 answers
A.Total incoming messages
B.SSH login attempts
C.Spam rejection percentage
D.Appliance CPU temperature
E.Number of unique recipients
AnswersA, C, E

A standard reporting metric.

Why this answer

The Reporting API provides metrics such as incoming volume, spam rejection rates, and recipient statistics.

41
MCQmedium

Which Python library is the industry standard for handling REST API requests when automating Cisco security solutions?

A.requests
B.http.client
C.cisco-sdk
D.urllib2
AnswerA

The requests library is the de facto standard for Python API automation.

Why this answer

The 'requests' library is the Python standard for making HTTP requests in a clear, human-readable manner.

42
MCQmedium

You are writing a script to monitor 'Cloudlock' alerts. Which API endpoint provides the most relevant data for SOC integration?

A.Policies endpoint
B.Users endpoint
C.App Firewall endpoint
D.Incidents endpoint
AnswerD

The Incidents endpoint is the primary source for security alerts in Cloudlock.

Why this answer

The 'Incidents' endpoint provides the stream of security events that a SOC would monitor.

43
MCQmedium

Which HTTP method should you use when updating an existing Cisco Cloudlock policy?

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

PUT is used to update an existing resource.

Why this answer

The PUT method is standard for replacing or updating an existing resource in RESTful APIs like Cloudlock's.

44
Multi-Selectmedium

When automating the integration between Cisco Cloudlock and a third-party platform, which TWO data types are typically fetched via the Cloudlock API?

Select 2 answers
A.Incident details
B.User password hashes
C.Appliance firmware images
D.Policy violation metadata
E.Network interface statistics
AnswersA, D

The API is designed to pull security event data.

Why this answer

Cloudlock APIs are commonly used to pull incident data and policy violation reports.

45
MCQmedium

When automating Secure Email Gateway tasks, what does a '429' status code indicate?

A.Endpoint not found
B.Rate limit exceeded
C.Internal server error
D.Invalid API key
AnswerB

429 is the standard HTTP code for rate limiting.

Why this answer

A 429 status code indicates that the client has sent too many requests and has exceeded the API rate limit.

46
MCQhard

When automating the deletion of Cisco Umbrella 'Destination Lists' via API, what happens to the policies currently associated with that list?

A.The policies will automatically default to 'Allow All'
B.The policies are automatically deleted to maintain integrity
C.Policies referencing the list will lose the associated rule
D.The API will return an error and prevent deletion
AnswerC

Policies are objects that point to lists; if the list is gone, the rule is effectively disabled/removed.

Why this answer

When a destination list is deleted, any policies referencing that list will lose the associated destination blocking rule, effectively removing that specific block or allow rule from the policy.

47
MCQeasy

Which Cisco security product provides an API to automate the management of web proxy policies and access logs?

A.Cisco Tetration
B.Cisco Duo
C.Cisco Secure Endpoint
D.Cisco Secure Web Appliance (WSA)
AnswerD

WSA is the platform specifically designed for web proxy and policy management.

Why this answer

Cisco Secure Web Appliance (WSA) features an extensive management API for configuration and log retrieval.

48
MCQhard

You are integrating Cisco Cloudlock with an external SIEM using the Cloudlock API. Which mechanism should you implement to receive real-time security events instead of polling the API repeatedly?

A.WebSocket handshake
B.Server-Sent Events (SSE)
C.SNMP Traps
D.Webhook integration
AnswerD

Cloudlock supports outgoing webhooks to push security incidents to external systems.

Why this answer

Cloudlock supports Webhooks, which allow the system to push events to a configured URL endpoint.

49
MCQhard

You are configuring a Webex CASB integration. To automate the reporting of anomalous file sharing events from a third-party cloud storage service, which API mechanism should you configure to receive real-time updates?

A.Direct database query access
B.Registering a Webhook endpoint
C.SNMP Traps
D.Using an SSH tunnel to the cloud provider
E.Polling the REST API every 60 seconds
AnswerB

Webhooks are designed to push event data to your automation service as they occur.

Why this answer

Webhooks are the standard mechanism for receiving push notifications from CASB providers regarding security events.

50
MCQmedium

You are automating the retrieval of security logs from Cisco Umbrella using the Reporting API. You need to pull logs for a specific time range. Which parameter must be included in the API request to ensure the response is correctly paginated and contains the requested data slice?

A.slice_id
B.page_token
C.session_id
D.limit
AnswerD

The 'limit' parameter defines the number of records returned per request.

Why this answer

The Cisco Umbrella Reporting API uses a 'limit' and 'offset' parameter for pagination to ensure large datasets are handled efficiently.

51
MCQhard

When using the Umbrella API to create a new 'Domain' block rule, you need to specify the 'type'. Which of the following is a valid type?

A.url
B.category
C.domain
D.ip_address
AnswerC

This is the correct object type for blocklist entries.

Why this answer

In Umbrella destination lists, domains are managed under the 'domain' type when adding entries to a block/allow list.

52
Multi-Selectmedium

Which TWO components are required when configuring the Cisco Secure Web Appliance (SWA) to allow API access?

Select 2 answers
A.Enable 'REST API' in the 'Feature Key' or 'System' settings
B.API user account with appropriate roles
C.Configure a local DNS server
D.SNMP v3 credentials
E.Enable IPsec VPN tunneling
AnswersA, B

The service must be explicitly enabled on the appliance.

Why this answer

You must enable the API feature and define an API user with appropriate permissions.

53
MCQeasy

Which component in the Cisco security portfolio is most effectively automated using the 'AsyncOS' Reporting API?

A.Secure Email Gateway
B.Cisco Duo
C.Cisco ISE
D.Cisco Meraki
AnswerA

The Reporting API is a core part of the Secure Email Gateway automation suite.

Why this answer

The AsyncOS Reporting API is specifically designed for the Secure Email and Web appliances to extract logs and traffic statistics.

54
Multi-Selecthard

Which THREE of the following are common challenges when automating Cisco Security appliance APIs?

Select 3 answers
A.Managing authentication token expiration
B.Forgetting to commit changes
C.Browser compatibility
D.Lack of network connectivity
E.Handling API rate limits
AnswersA, B, E

Tokens require periodic renewal/refresh.

Why this answer

Handling rate limits, properly managing authentication tokens, and ensuring configuration changes are committed are common automation hurdles.

55
Multi-Selecthard

Which THREE steps are required to automate the update of an Umbrella policy using the Umbrella Management API?

Select 3 answers
A.Send a DELETE request before the PUT request
B.Perform a GET request to fetch the current policy configuration
C.Send a PUT request with the updated JSON payload
D.Convert the policy into a binary format
E.Modify the JSON structure to reflect the desired policy changes
AnswersB, C, E

Necessary to retrieve the existing object structure.

Why this answer

Updating a policy involves retrieving the current configuration, modifying the JSON, and performing a PUT operation.

56
MCQeasy

What is the role of an 'OAuth Bearer Token' in Cisco security automation?

A.Replaces the API key permanently
B.Provides temporary authorization for API access
C.Encrypts the API traffic
D.Defines the user's GUI password
AnswerB

The bearer token is the standard way to authorize API requests in OAuth 2.0.

Why this answer

The bearer token is a temporary credential that proves the client is authorized to access the requested API resources.

57
Multi-Selecthard

You are developing a script to interact with the Cisco Cloudlock API to identify risky OAuth applications. Which THREE actions are valid when using the Cloudlock REST API to manage application risk?

Select 3 answers
A.Update the Cisco Umbrella DNS filtering policies
B.Revoke OAuth tokens for identified risky apps
C.Retrieve risk score for an application
D.Modify the global cloud infrastructure firewall rules
E.List users who have authorized a specific app
AnswersB, C, E

The API allows revoking access tokens for specific applications.

Why this answer

Cloudlock APIs allow for retrieving app risk scores, revoking app access, and listing users granted access to specific applications.

58
Multi-Selectmedium

Which TWO actions must you perform to successfully integrate an automation script with the Cisco Secure Email API?

Select 2 answers
A.Install a local Python agent on the appliance
B.Use HTTP Basic Authentication in your request headers
C.Enable the 'REST API' service in the appliance feature configuration
D.Configure an SNMPv3 user for API access
E.Register the appliance with Cisco Defense Orchestrator
AnswersB, C

Basic Auth is the required method for the AsyncOS API.

Why this answer

You must enable the API service in the appliance settings and provide correct credentials via HTTP Basic Auth.

59
MCQhard

You are automating the retrieval of blocked file hashes from Cisco Secure Email (ESA). Which API object provides the most granular view of file-based security events?

A.Message Tracking API
B.System Health API
C.Reporting API
D.Configuration API
AnswerA

Message Tracking provides event-level granularity, including file attachment metadata.

Why this answer

The Message Tracking API provides the most detailed logs regarding individual file attachments and their disposition.

60
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.

61
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.

62
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.

63
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.

64
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.

65
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.

66
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.

67
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.

68
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.

69
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.

70
MCQmedium

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

A.HTML
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.

71
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.

72
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.

Ready to test yourself?

Try a timed practice session using only Cloud Web And Email Security Automation questions.