exam questions

Exam CAS-004 All Questions

View all questions & answers for the CAS-004 exam

Exam CAS-004 topic 1 question 517 discussion

Actual exam question from CompTIA's CAS-004
Question #: 517
Topic #: 1
[All CAS-004 Questions]

An application engineer is using the Swagger framework to leverage REST APIs to authenticate endpoints. The engineer is receiving HTTP 403 responses. Which of the following should the engineer do to correct this issue? (Choose two.)

  • A. Obtain a security token.
  • B. Obtain a public key.
  • C. Leverage Kerberos for authentication
  • D. Leverage OAuth for authentication.
  • E. Leverage LDAP for authentication.
  • F. Obtain a hash value.
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Steel16
1 week, 1 day ago
Selected Answer: AD
o Obtain a security token: A security token is often required for authenticated access to protected API endpoints. If the engineer is receiving a 403 Forbidden error, it likely means the token is missing, invalid, or expired. Obtaining a new valid token from the authentication service should resolve the issue. o Leverage OAuth for authentication: OAuth is a widely used authorization framework that allows users to grant access to their data on third-party applications without revealing their passwords. If the API supports OAuth, using this method can provide a secure and standardized way of authentication and authorization, potentially resolving the 403 error.
upvoted 1 times
...
581777a
3 months, 4 weeks ago
OAuth is NOT an authentication protocol.. it’s a authorization protocol lol
upvoted 1 times
...
23169fd
8 months ago
Selected Answer: AD
A. Obtain a security token: HTTP 403 responses typically indicate that the request is authenticated but the user does not have the necessary permissions to access the endpoint. Obtaining a security token is a common method for authenticating requests. This token is usually required by the API to verify that the requestor has the proper access rights. D. Leverage OAuth for authentication: OAuth is a widely used authentication framework that allows an application to obtain limited access to user accounts on an HTTP service. It is commonly used for token-based authentication, and leveraging OAuth would help in obtaining the necessary tokens and permissions to access the API endpoints.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago