wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Mock Exam

Total questions: 20

Worksheet time: 9mins

Name
Class
Date
1.

An API is primarily used for graphical user interfaces (GUIs) to interact with users.

a)

True

b)

False

2.

Lack of API standardization is a challenge for testers.

a)

True

b)

False

3.

Risk-based testing helps prioritize API tests based on the likelihood and impact of failures.

a)

True

b)

False

4.

Test automation is not useful in API testing since API tests can only be performed manually.

a)

True

b)

False

5.

Regression testing in APIs does not require attention to environmental dependencies.

a)

True

b)

False

6.

Security is a crucial aspect of API testing, as vulnerabilities can lead to data breaches.

a)

True

b)

False

7.

API performance testing is unnecessary if the API is functionally correct.

a)

True

b)

False

8.

What does API stand for?

a)

Application Programming Interface

b)

Automated Programming Interface

c)

Application Protocol Interface

d)

Automated Protocol Interface

9.

You are testing an API for an e-commerce application that processes orders. The API needs to handle a high volume of requests during peak shopping hours. Which type of performance testing would you prioritize?

a)

Spike performance testing

b)

Soak performance testing

c)

Stress performance testing

d)

Load performance testing

10.

You are tasked with testing a new API endpoint that retrieves user data. The endpoint is expected to be used by multiple services within the organization. What is a key expectation from you as an API tester?

a)

To ensure the endpoint has a graphical user interface

b)

To understand the purpose and use of the API endpoint

c)

To develop new API endpoints

d)

To ignore security practices

11.

Your team is developing a new API for a financial application. Security is a top priority due to the sensitive nature of the data. Which of the following should you focus on during testing?

a)

Ensuring the API has a user-friendly interface

b)

Testing the API's performance under normal load

c)

Implementing and testing security practices

d)

Ignoring error handling

12.

You are using Postman to test an API that provides weather data. You need to verify that the API returns accurate data for different cities. Which type of testing tool is Postman?

a)

Command line tool

b)

Freeware graphical tool

c)

Per license tool

d)

Integrated development environment (IDE)

13.

You are testing an API that processes large amounts of data. The API needs to handle both small and large data sets efficiently. Which type of performance testing would you conduct to ensure this?

a)

Spike performance testing

b)

Soak performance testing

c)

Volume performance testing

d)

Stress performance testing

14.

Your team is developing an API for a social media application. The API needs to be tested for its ability to handle a large number of concurrent users. Which type of performance testing is most relevant?

a)

Spike performance testing

b)

Soak performance testing

c)

Capacity performance testing

d)

Stress performance testing

15.

You are testing an API that provides real-time stock market data. The API needs to respond quickly to requests to ensure timely data delivery. What type of API response is required?

a)

Synchronous response

b)

Asynchronous response

c)

Delayed response

d)

Ignored response

16.

You are testing an API that has multiple versions in use simultaneously. What challenge does this pose for testing?

a)

Consistent API paths

b)

Standardized API naming

c)

Versioning complexity

d)

Lack of graphical component

17.

The process of analyzing, prioritizing, and addressing API failures during testing is called

(a)  

18.

(a)   testing evaluates how well an API handles concurrent users under different conditions.

19.

A key expectation from an API tester is to understand the (a)   and use of API endpoints.

20.

  1. Performance testing types mentioned include spike, soak, and (a)   performance testing.