Search Header Logo

Micro-Credential Part 2 Mock Exam

Authored by Sarah Panganiban

Information Technology (IT)

Professional Development

Used 1+ times

Micro-Credential Part 2 Mock Exam
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

REST is a protocol that dictates a strict structure for data exchange.

True
False

Answer explanation

REST is a set of architectural constraints, not a protocol.

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

JSON is the most commonly used format for REST APIs.

True
False

Answer explanation

JSON is popular for being lightweight, human-readable, and language-independent.

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

JWT tokens used for API authorization must never expire.

True
False

Answer explanation

JWT tokens have expiration times and must be refreshed regularly.

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

gRPC uses HTTP/2 and .proto files to define data contracts.

True
False

Answer explanation

This enables efficient communication and standardized contracts.

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

GraphQL allows clients to request only the data they need.

True
False

Answer explanation

This reduces data over-fetching and improves query efficiency.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which HTTP method is used to update a resource in REST?

GET

POST

PUT

DELETE

Answer explanation

PUT is commonly used for updating an existing resource.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which header specifies the expected format of the API response?

Authorization

Content-Type

Accept

Cookie

Answer explanation

The Accept header tells the server which response formats are acceptable.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?