Font size
WorksheetsMock Exam v.2
Total questions: 20
Worksheet time: 11mins
An API allows different software systems to communicate by exposing specific functionalities.
True
False
API testing focuses only on functional correctness and does not include security or performance checks.
True
False
RESTful APIs are the least commonly used architecture in modern software development.
True
False
In API testing, a response time of 10 seconds is generally considered optimal for user experience.
True
False
API versioning helps ensure that existing clients continue to work even after new updates.
True
False
One challenge of API testing is dealing with unknown dependencies that may impact API functionality.
True
False
API regression testing is unnecessary if unit testing is performed correctly.
True
False
Which of the following describes the primary function of an API?
Displaying user interfaces
Connecting software applications
Managing databases
Automating test execution
Which testing type helps identify how an API performs under a sudden increase in traffic?
Functional testing
Spike testing
Usability testing
Unit testing
Which is NOT a common challenge in API testing?
Lack of standardization
Managing dependencies
Excessive graphical elements
Performance bottlenecks
Which HTTP method is used to update existing resources in an API?
GET
POST
PUT
DELETE
What is an essential reason for performing API security testing?
To enhance UI design
To check spelling errors
To prevent unauthorized access and data breaches
To improve API response speed
Which of the following is NOT a valid HTTP response status code?
200 OK
404 Not Found
600 Invalid Request
500 Internal Server Error
What is one major risk of not performing API versioning correctly?
APIs will become faster
Older applications may break due to changes
Security vulnerabilities will be reduced
API response times will be unaffected
Which of the following tools is commonly used for API testing?
Cypress
Postman
Selenium
Test Rail
In API testing, a (a) is an entity that sends requests to an API endpoint.
The (a) test approach prioritizes tests based on potential business impact and failure likelihood.
APIs that return results immediately are called (a) APIs, while those that process requests in the background are called asynchronous APIs.
An API returning a (a) response code typically indicates an unauthorized request.
API failure triage helps teams analyze, classify, and resolve defects effectively, ensuring (a) testing and debugging.
