Try these questions from our free API - Testing practice tests. The correct answer and an explanation follow each question.
Which HTTP method is idempotent and used to fully replace a resource?
Answer: B. PUT
PUT is idempotent and replaces the entire resource at the specified URI.
What is the 'N+1 query problem' in GraphQL testing?
Answer: B. Fetching a list then making N additional queries for each item's related data
The N+1 problem occurs when a GraphQL resolver fetches a list (1 query) then makes a separate database call for each item (N queries), severely hurting performance.
What does a 503 Service Unavailable response indicate?
Answer: B. The server is temporarily unable to handle the request
503 Service Unavailable indicates the server is temporarily unable to handle the request, often due to maintenance or overload.
Which tool is commonly used for testing SOAP web services?
Answer: B. SoapUI
SoapUI is the industry-standard tool for testing SOAP web services, supporting WSDL import, assertion-based testing, and security scanning.