wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Mock Exam v.2

Total questions: 20

Worksheet time: 11mins

Name
Class
Date
1.

An API allows different software systems to communicate by exposing specific functionalities.

a)

True

b)

False

2.

API testing focuses only on functional correctness and does not include security or performance checks.

a)

True

b)

False

3.

RESTful APIs are the least commonly used architecture in modern software development.

a)

True

b)

False

4.

In API testing, a response time of 10 seconds is generally considered optimal for user experience.

a)

True

b)

False

5.

API versioning helps ensure that existing clients continue to work even after new updates.

a)

True

b)

False

6.

One challenge of API testing is dealing with unknown dependencies that may impact API functionality.

a)

True

b)

False

7.

API regression testing is unnecessary if unit testing is performed correctly.

a)

True

b)

False

8.

Which of the following describes the primary function of an API?

a)

Displaying user interfaces

b)

Connecting software applications

c)

Managing databases

d)

Automating test execution

9.

Which testing type helps identify how an API performs under a sudden increase in traffic?

a)

Functional testing

b)

Spike testing

c)

Usability testing

d)

Unit testing

10.

Which is NOT a common challenge in API testing?

a)

Lack of standardization

b)

Managing dependencies

c)

Excessive graphical elements

d)

Performance bottlenecks

11.

Which HTTP method is used to update existing resources in an API?

a)

GET

b)

POST

c)

PUT

d)

DELETE

12.

What is an essential reason for performing API security testing?

a)

To enhance UI design

b)

To check spelling errors

c)

To prevent unauthorized access and data breaches

d)

To improve API response speed

13.

Which of the following is NOT a valid HTTP response status code?

a)

200 OK

b)

404 Not Found

c)

600 Invalid Request

d)

500 Internal Server Error

14.

What is one major risk of not performing API versioning correctly?

a)

APIs will become faster

b)

Older applications may break due to changes

c)

Security vulnerabilities will be reduced

d)

API response times will be unaffected

15.

Which of the following tools is commonly used for API testing?

a)

Cypress

b)

Postman

c)

Selenium

d)

Test Rail

16.

In API testing, a (a)   is an entity that sends requests to an API endpoint.

17.

The (a)   test approach prioritizes tests based on potential business impact and failure likelihood.

18.

APIs that return results immediately are called (a)   APIs, while those that process requests in the background are called asynchronous APIs.

19.

An API returning a (a)   response code typically indicates an unauthorized request.

20.

API failure triage helps teams analyze, classify, and resolve defects effectively, ensuring (a)   testing and debugging.