























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A practice exam for developers working with the nuix restful api. It includes 25 multiple-choice questions covering various aspects of the api, such as http methods, endpoints, authentication, and data processing. Each question is followed by a detailed explanation of the correct answer, making it a valuable resource for those preparing for a nuix developer certification or seeking to deepen their understanding of the api. The exam covers topics like creating cases, managing workers, handling json payloads, and interpreting http status codes. This practice exam is designed to help developers test their knowledge and improve their skills in using the nuix restful api for forensic data processing and analysis. It offers practical insights into the api's functionalities and best practices, ensuring developers can effectively leverage nuix in their projects.
Typology: Exams
1 / 95
This page cannot be seen from the preview
Don't miss anything!
























































































Question 1. Which HTTP method is most appropriate for creating a new Nuix case via the REST API? A) GET B) POST C) PUT D) DELETE Answer: B Explanation: POST is used to create new resources on the server, such as a new case, whereas GET retrieves data, PUT updates, and DELETE removes resources. Question 2. In the Nuix REST endpoint /api/v2/cases/{caseId}/workers, what does {caseId} represent? A) The version of the API B) The unique identifier of a case C) The name of a worker pool D) The authentication token Answer: B Explanation: {caseId} is a path parameter that specifies the unique identifier of the case whose workers are being queried or managed. Question 3. Which status code indicates that a request to start a processing job was accepted and is being processed asynchronously? A) 200 OK B) 201 Created C) 202 Accepted
D) 204 No Content Answer: C Explanation: 202 Accepted signals that the request has been received and will be acted upon later, typical for long‑running asynchronous jobs. Question 4. When using the Nuix API, how should a JSON payload be sent in a POST request? A) As a URL‑encoded query string B) In the request body with Content‑Type: application/json C) As a multipart/form‑data file upload D) In a custom HTTP header Answer: B Explanation: The API expects JSON data in the request body and requires the Content‑Type header to be set to application/json. Question 5. Which component is responsible for executing the actual forensic processing of data in a Nuix deployment? A) Nuix Server B) Nuix Engine C) Nuix Worker D) REST API Service Answer: C Explanation: Nuix Workers perform the heavy‑weight processing tasks; the Engine coordinates, the Server hosts the API, and the REST service provides the HTTP interface.
Answer: B Explanation: API keys are static tokens placed in the Authorization header (often as Bearer <key>) and are used for service‑to‑service authentication. Question 9. When using token‑based authentication, what is the typical lifetime of an access token? A) Indefinite until manually revoked B) A few seconds C) Several minutes to hours, depending on configuration D) Until the server restarts Answer: C Explanation: Access tokens are short‑lived (minutes to hours) to limit exposure; they are refreshed via a refresh token or re‑authentication. Question 10. Which HTTP status code indicates that the client supplied an invalid JSON payload? A) 400 Bad Request B) 401 Unauthorized C) 403 Forbidden D) 415 Unsupported Media Type Answer: A Explanation: 400 Bad Request is returned when the request cannot be processed due to malformed syntax, such as invalid JSON.
Question 11. In Nuix, what does a “processing profile” define? A) User permissions for a case B) The set of ingestion and analysis settings applied to a data source C) The network topology of workers D) The API endpoint version Answer: B Explanation: A processing profile bundles configuration options (e.g., OCR, de‑duplication) that are applied when ingesting data. Question 12. Which endpoint would you call to create a new case named “Investigation2023”? A) POST /api/v2/cases with JSON { "name": "Investigation2023" } B) PUT /api/v2/cases/Investigation2023 C) GET /api/v2/cases/create?name=Investigation2023 D) DELETE /api/v2/cases/Investigation2023 Answer: A Explanation: Creating a case uses POST to the collection endpoint with a JSON body specifying the case name. Question 13. How can you assign a specific worker pool to a high‑priority job via the API? A) Include "workerPoolId" in the job creation payload B) Set the HTTP header X-Worker-Pool C) Use a query parameter ?priority=high D) It cannot be set; workers are assigned automatically
Answer: C Explanation: DELETE is used to remove or cancel a resource, such as an active job identified by its job ID. Question 17. When retrieving item metadata, which query parameter controls the fields returned? A) fields B) select C) metadata D) include Answer: A Explanation: The fields parameter accepts a comma‑separated list of metadata keys to include in the response, reducing payload size. Question 18. How does the Nuix API convey pagination information? A) Using page and size query parameters and returning totalPages in the response body B) By sending a Link header with rel="next" URLs C) Both A and B are supported D) Pagination is not supported; all results are returned at once Answer: C
Explanation: The API supports classic page/size parameters and also provides Link headers for navigation. Question 19. Which response code indicates that the client is not authorized to access a particular endpoint? A) 401 Unauthorized B) 403 Forbidden C) 404 Not Found D) 409 Conflict Answer: B Explanation: 403 Forbidden means the client’s authentication succeeded but does not have permission for the requested resource. Question 20. What is the purpose of a webhook in Nuix? A) To retrieve the list of workers synchronously B) To push real‑time notifications to an external URL when certain events occur C) To encrypt API traffic D) To schedule recurring jobs Answer: B Explanation: Webhooks are HTTP callbacks that Nuix calls when events such as job completion happen, enabling real‑time integration. Question 21. Which content type should be used when downloading a native file from the API? A) application/json
Explanation: Custodian metadata links items to the individual or organization responsible for them, a core concept in e‑discovery. Question 24. To export items as a load file (DAT) using the API, which endpoint is typically used? A) POST /api/v2/cases/{caseId}/exports/loadfile B) GET /api/v2/cases/{caseId}/loadfile C) PUT /api/v2/exports/{exportId} D) DELETE /api/v2/cases/{caseId}/exports Answer: A Explanation: Export jobs are created with POST to the exports sub‑resource, specifying the type (loadfile) in the payload. Question 25. What does the X-Request-ID header help with? A) Identifying the specific worker that handled a request B) Correlating logs across client and server for troubleshooting C) Setting the priority of a request D) Specifying the API version Answer: B Explanation: X-Request-ID is a unique identifier that can be echoed in logs, enabling end‑to‑end traceability of a request. Question 26. Which method would you use to update custom metadata on a batch of items? A) POST /api/v2/items/batchMetadata with a list of item IDs and metadata pairs
B) PUT /api/v2/items/{itemId}/metadata for each item individually C) PATCH /api/v2/items/metadata with a JSON Patch document D) Both A and C are valid, depending on API version Answer: D Explanation: The API supports both a dedicated batch endpoint and a generic PATCH operation for bulk metadata updates. Question 27. What is the recommended way to handle a 429 Too Many Requests response? A) Immediately abort all further calls B) Retry after the number of seconds indicated in the Retry-After header C) Switch to a different API key without delay D) Ignore the response and continue as normal Answer: B Explanation: 429 indicates rate limiting; the server tells the client when it may retry via the Retry-After header. Question 28. Which of the following is NOT a typical component of a Nuix processing profile? A) OCR settings B) De‑duplication options C) Worker CPU affinity D) Text extraction language Answer: C
C) GET /api/v2/audit?case={caseId} D) All of the above are valid approaches Answer: D Explanation: The API provides multiple ways to fetch audit entries, including direct case‑scoped endpoints and a generic audit search. Question 32. Which HTTP header must be present to enforce TLS‑only communication? A) Strict-Transport-Security B) X-Force-HTTPS C) Content-Security-Policy D) Authorization Answer: A Explanation: Strict-Transport-Security (HSTS) tells browsers/clients to only use HTTPS for future requests, ensuring TLS enforcement. Question 33. What is the effect of setting "pauseOnError": true in a job payload? A) The job will automatically retry failed items B) The entire job will be paused if any processing error occurs C) Errors will be ignored and processing continues D) The job will be cancelled immediately Answer: B Explanation: pauseOnError instructs the engine to halt the job when an error is encountered, allowing manual intervention.
Question 34. When exporting items, which parameter defines the maximum number of items per export file? A) batchSize B) maxItemsPerFile C) pageSize D) chunkLimit Answer: B Explanation: maxItemsPerFile controls how many items are written into each generated export file. Question 35. Which of the following best describes “asynchronous job architecture” in Nuix? A) All API calls block until processing completes B) Jobs are queued, assigned an ID, and processed in the background while the client polls for status C) The client must maintain a persistent TCP connection to receive updates D) Jobs are executed only during off‑peak hours Answer: B Explanation: The API returns a job identifier and processes the request asynchronously; the client checks status later. Question 36. To retrieve only the first 100 items of a search result, which query parameter should you use? A) limit=100 B) top=100 C) pageSize=100
Question 39. Which of the following is a recommended practice for minimizing network bandwidth when retrieving item details? A) Request all possible metadata fields B) Use the fields parameter to specify only needed attributes C) Disable compression on the client side D) Request items one at a time in separate calls Answer: B Explanation: Specifying only required fields reduces payload size, conserving bandwidth and improving response time. Question 40. How can you programmatically verify that a user has the “Export” permission for a case? A) Call GET /api/v2/users/{userId}/permissions and inspect the list B) Attempt an export and catch a 403 error C) Check the case’s allowedRoles property D) All of the above Answer: D Explanation: Each method can confirm permission: querying permissions directly, handling the error response, or reviewing role assignments. Question 41. Which HTTP response header provides the total number of items matching a search query? AX-Total-Count BX-Result-Size
CTotal-Items DCount Answer: A Explanation: X-Total-Count is a common convention for indicating the overall result size in paginated APIs. Question 42. What is the purpose of the Accept header in an API request? A) To specify the authentication scheme B) To indicate the desired response media type (e.g., application/json) C) To set the maximum request size D) To define the request timeout Answer: B Explanation: Accept tells the server which content types the client can process; the server should respond accordingly. Question 43. When using basic authentication over HTTPS, which part of the request contains the credentials? A) Query string parameters B) Authorization header with value Basic <base64(username:password)> C) Request body as JSON D) Custom header X-Auth Answer: B Explanation: Basic auth encodes “username:password” in Base64 and places it in the Authorization header.
Answer: D Explanation: Adjusting client timeouts, chunking work, or explicitly requesting asynchronous processing all help avoid timeout failures. Question 47. Which of the following best describes “batching requests” in the Nuix API context? A) Sending multiple independent HTTP calls concurrently B) Combining several operations into a single POST with an array payload C) Using HTTP pipelining to send requests back‑to‑back D) None of the above Answer: B Explanation: Batching groups multiple actions (e.g., tagging many items) into one request body, reducing round‑trips. Question 48. What does the X-Content-Type-Options: nosniff header prevent? A) Cross‑site scripting attacks B) MIME type sniffing by browsers, which could lead to execution of malicious content C) Man‑in‑the‑middle decryption D) API rate limiting Answer: B Explanation: nosniff tells browsers not to guess the content type, mitigating certain injection attacks.
Question 49. Which endpoint would you use to retrieve the health status of all workers in a cluster? A) GET /api/v2/workers/health B) GET /api/v2/cluster/status C) GET /api/v2/health/workers D) GET /api/v2/system/metrics Answer: A Explanation: The dedicated workers health endpoint returns per‑worker status metrics. Question 50. When configuring a webhook, which HTTP method does Nuix use to deliver the notification? A) GET B) POST C) PUT D) DELETE Answer: B Explanation: Webhooks are sent as POST requests containing a JSON payload describing the event. Question 51. Which of the following is a recommended practice for handling transient 5xx errors? A) Immediate abort of the operation B) Retry with exponential backoff up to a maximum number of attempts C) Switch to a different API version without retrying D) Log the error and continue as if the request succeeded