
Micro-Credential Part 2 Mock Exam
Authored by Sarah Panganiban
Information Technology (IT)
Professional Development
Used 1+ times

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.
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.
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.
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.
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.
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?