REST APIs LinkedIn Skill Assessment Answer

Here, We see REST APIs LinkedIn Skill Assessment Answer. This assessment test consists 15-20 MCQs to demonstrate your knowledge in your selected skills. MCQs comes from different topics – API Security, Consuming APIs, Designing APIs, Implementing APIs, Measuring APIs.

REST APIs LinkedIn Skill Assessment Answer

REST APIs LinkedIn Skill Assessment :-

Q1. What type of relationship is defined as one resource existing only if another parent resource exist-for example, pages in a book?

  1. Partial✔️
  2. dependent
  3. associative
  4. linked

Q2. Which URL pattern is recommended when working with one resource and a collection of resources?

  1. /companies/{id} and/company
  2. /company/{id} and/companies
  3. /companies/{id} and/companies✔️
  4. /company/{id} and/company

Q3. When dealing with JSON web Tokens (JWTs), what is a claim?

  1. data in the token✔️
  2. Ownership
  3. a permission
  4. and integer

Q4. Which REST contraint specifies that knowledge and understanding obtained from one component of the API should be generally applicable elsewhere in the API?

  1. Uniform Interface✔️
  2. Client-Server
  3. Stateless
  4. Chacheable

Q5. What would you enable to allow a browser on another site to make an AJAX request to your API?

  1. HTTP
  2. REST
  3. OPTIONS
  4. CORS✔️

Q6. APIs commonly use webhooks to _.

  1. notify other systems of an event✔️
  2. catch error faster
  3. improve error logging
  4. log additional data

Q7. What is the underlying goal of all APIs?

  1. to add new technologies to an organization's infrastructure.
  2. to share features and functionality with other system.✔️
  3. to move infrastructure to the cloud.
  4. to appease the latest digital transformation effort.

Q8. Which is a common command-line tool for using or exploring an API?

  1. bash
  2. curl✔️
  3. ssh
  4. powerShell

Q9. What is the modern specification for describing an API?

  1. OpenAPI (Swagger)✔️
  2. WADL
  3. WSDL
  4. OAuth

Explanation: OpenAPI Specification

Q10. Which HTTP verb is normally used to update or create a resource in an API?

  1. SUBMIT
  2. WRITE
  3. POST✔️
  4. CREATE

Explanation: HTTP request methods

Q11. What is one benefit of server-side caching in APIs?

  1. Mobile app work better.
  2. It improves uptime.
  3. It offers better security.
  4. It reduce load on servers.✔️

Q12. Your API resource does no allow deletion, and a client application attempted to delete the resource. What HTTP respose code should you return?

  1. 409 Conflict
  2. 400 Bad Request
  3. 406 Not Acceptable
  4. 405 Method Not Allowed✔️

Explanation: Response Codes

Q13. What is OpenID Connect?

  1. an identify layer on top of OAuth 2.0✔️
  2. the new name for SAML 3.0
  3. a modern replacement for API keys
  4. an SSO competitor for OAuth 2.0

Explanation: What is OpenID Connect?

Q14. What is one benefit of GraphQl over REST approaches?

  1. flexible querying/responses✔️
  2. more stable APIs
  3. compatible with more gateways
  4. more secure by default

Explanation: GraphQL vs. REST

Q15. Which REST constraint specifies that there should be no shared context?

  1. Stateless✔️
  2. Client-Server
  3. Uniform Interface
  4. Cacheable

Q16. What purpose does a User-Agent serve?

  1. It identifies the user ID.
  2. It identifies the client application or SDK.✔️
  3. It identifies if the API should expect a user authentication.
  4. It identifies if the API should accept microservice traffic.

Q17. If you were to add versioning by using the Accept and Content-Type header, what would be the correct format of the header value?

  1. application/json
  2. application/json_version2
  3. text/html✔️
  4. application/vnd.myapp.v2+json

Q18. What is one benefit that OAuth provides over an API key approach?

  1. A token is encrypted.
  2. A token is encoded.
  3. A token is scoped to the use case.✔️
  4. A token can be shared between systems.

Explanation: How to easily secure your APIs with API keys and OAuth

Q19. The ability to execute the same API request over and over again without changing the resource’s state is an example of _.

  1. stateless architecture
  2. idempotency✔️
  3. a uniform interface
  4. cacheability

Q20. What component can you use to wrap legacy architectures or protocols into a REST interface for easier consumption and integration?

  1. API proxy✔️
  2. API gateway
  3. OpenAPI
  4. OAuth authorization server

Q21. What protection does a JSON Web Token (JWT) offer to mitigate tampering with its contents?

  1. transport over SSL
  2. encrypted payload
  3. a signature✔️
  4. encoded payload

Q22. What OAuth term is used to represent permissions?

  1. token
  2. scope✔️
  3. claim
  4. back channel

Explanation: OAuth Scopes

Q23. What additional type of token would you see when using OpenID Connect?

  1. ID token✔️
  2. refresh token
  3. access token
  4. auth code token

Q24. What should you add to a Cache-Control response header to specify that a response should not be stored in an intermediary cache?

  1. no-proxy
  2. client-only
  3. restricted
  4. private✔️

reference

Q25. Which OAuth grant type can support a refresh token?

  1. Authorization Code Grant✔️
  2. Client Credentials Grant
  3. Implicit Grant
  4. Authentication Grant

Reference:

Q26. Using OAuth, what scope would you request for write access to the API?

  1. It varies from API to API.
  2. admin✔️
  3. write
  4. read-write

Q27. Which property would you use to include subresources directly into a JSON document?

  1. _embedded
  2. resources
  3. subresources✔️
  4. _links

Q28. What is the best way to track SDK and version usage?

  1. tracking downloads✔️
  2. Accept headers
  3. user agents
  4. polling users

Q29. Which REST constraint allows for the presence of caching, routing, and other systems between the client and server?

  1. Layered System
  2. Stateless
  3. Client-Server✔️
  4. Cacheable

Q30. Which content is best to include in your documentation?

  1. your tech stack
  2. reasoning for your naming schema
  3. your mission statement
  4. sample code✔️

Q31. What metric tracks overall availability for your API?

  1. Response Time
  2. Time to First Hello World
  3. TTL
  4. Uptime✔️

Q32. What is the recommended method and URL pattern for retrieving a specific user?

  1. GET /user/{id}
  2. GET /users/{id}✔️
  3. GET /user?id={id}
  4. GET /users?id={id}

Q33. What is the purpose of a link relation?

  1. to describe relationships between resources or actions
  2. to describe subresources related to the current one
  3. to link two resources together✔️
  4. to describe a resource and its purpose

Q34. When building SDKs, which languages should you support?

  1. Java, Javascript, and .NET
  2. and you can support
  3. PHP, Python, and Go
  4. the languages that your target users use✔️

Q35. Which property would you use to include references to other resources in a JSON document?

  1. resources✔️
  2. _embedded
  3. subresources
  4. _links

Q36. What is OAuth?

  1. an authorization framework for granted delegated access✔️
  2. an approach to single sign-on for APIs
  3. a method for API authentication
  4. HTTP Basic Authentication 2.0

Q37. What should your API documentation describe?

  1. JSON
  2. HTTP
  3. common use cases✔️
  4. your tech stack

Q38. What is the purpose of an OAuth refresh token?

  1. to share user profile information
  2. to update an API configuration
  3. to keep a web session active
  4. to retrieve an access token✔️

Explanation: Understanding Refresh Tokens

Q39. What is Time to First Hello World?

  1. how long it takes for a developer to do something with your API✔️
  2. how long it takes to start a new programming language
  3. how long it takes to install your SDK
  4. how long it takes to read your documentation

Q40. Which response header tells the client and intermediaries that the response is not to be cached anywhere?

  1. Cache-State: none
  2. Expires:-1
  3. Cache-Control: no-cache
  4. Cache-Control: no-store✔️

Q41. What component hides the distinctions or boundaries between various microservices from end-client applications?

  1. API gateway✔️
  2. API logging
  3. a layered system
  4. API proxy

Q42. The textbook approach to api versioning is to use _.

  1. common knowledge
  2. URLs
  3. no versioning
  4. the Accept header✔️

Q43. Which is the most secure method to transmit an API key?

  1. URL parameter
  2. Authorization header✔️
  3. Base64 encoding
  4. Basic Auth

Q44. Within Oauth, what component validates the user’s identity?

  1. client
  2. not specified
  3. authorization server✔️
  4. resource server

Q45. API traffic that is entirely internal to your organization is normally called _?

  1. inbound traffic
  2. north-south traffic
  3. internal traffic ✔️
  4. east-west traffic

Q46. What is the best approach for requesting JSON instead of XML from an API?

  1. Add .json to the URL.
  2. APIs do not use XML.
  3. Use the Content-Type header.
  4. Use the Accept header.✔️

Q47. When a user attempts to access a record that is not their own, which HTTP response code is the most appropriate?

  1. 403
  2. 404
  3. 401✔️
  4. 405

Explanation: Response Codes

Q48. Which is a benefit of using an API gateway?

  1. HTTP verbs
  2. JSON payloads
  3. HTTP response codes
  4. rate limiting/throttling✔️

Q49. API testing must be treated as _?

  1. red team testing
  2. white box testing
  3. blue box testing
  4. black box testing✔️

Q50. Which HTTP verb is used in a CORS preflight request?

  1. PUT
  2. POST
  3. GET
  4. OPTIONS✔️

Q51. Which response header will tell the client that the response is cached for 1 minute ?

  1. Expires: 1 minute
  2. Cache-Control: max-age=60✔️
  3. Expires: 1 January 2020
  4. Cache-Expires: max-age=60

Explanation: Cache Control Header

Q52. What is the concept that allows an API client to explore an API via links embedded in payloads?

  1. hypermedia
  2. link relations✔️
  3. parsing
  4. browsing

Q53. Which HTTP response code describes a new resource as created successfully?

  1. 200
  2. 201✔️
  3. 204
  4. 202

Explanation: Response Codes

Q54. Which is an example of Code on Demand?

  1. AWS Lambda
  2. downloading open-source software
  3. Serverless
  4. JavaScript on a webpage✔️

Explanation: Code on Demand

Q55. Which URL pattern should you follow for accessing a subresource attached to a specific resource?

  1. /companies/employees/{companyId}/{employeeId}
  2. /company/{companyId}/employees/{employeeId}
  3. /companies/{companyId}/employees/{employeeId}✔️
  4. /companies/{companyId}/employee/{employeeId}

Explanation: Resource Naming

Q56. Which REST constraint essentially prohibits the use of cookies?

  1. Stateless✔️
  2. Cacheable
  3. Layered System
  4. Uniform Interface

LinkedIn REST APIs Quiz Answers, LinkedIn REST APIs Assessment Answers, REST APIs LinkedIn Quiz Answers, REST APIs Assessment LinkedIn Answers, LinkedIn Skill Quiz Answers REST APIs, LinkedIn REST APIs Quiz, REST APIs LinkedIn Quiz, LinkedIn Quiz Answers REST APIs, LinkedIn REST APIs Assessment Quiz Answers, LinkedIn Skill Assessment REST APIs Answers, REST APIs LinkedIn Quiz, LinkedIn REST APIs Assessment Test Answers, LinkedIn REST APIs Test Answers, LinkedIn REST APIs Skill Assessment Answers, LinkedIn Skill Assessment Answers REST APIs, REST APIs LinkedIn Assessment Answers, LinkedIn REST APIs Assessment Answers, REST APIs LinkedIn Assessment Answers, Answers to LinkedIn Quizzes, LinkedIn Skill Assessment Answers GitHub, LinkedIn Assessment Test Answers, LinkedIn Skill Assessments Answers, REST APIs LinkedIn Skill Assessment Answer, REST APIs LinkedIn Skill Assessment Answer, LinkedIn assessment answers, LinkedIn skill assessment answers, LinkedIn assessments, LinkedIn skill assessment, LinkedIn assessment answers 2021, LinkedIn assessment answers GitHub, LinkedIn assessment quiz answers

No post found!

Leave a Comment

Your email address will not be published.