CompTIA Security+ SY0-701 Practice Question

A company develops a third-party application that needs to access user data from a popular social media platform without exposing user credentials. Which of the following would be the most secure method for the application to request and receive authorization to access the platform’s data on behalf of the user?

  • Implement a custom encryption algorithm to secure user credentials when accessing the social media platform’s API.

  • Use basic access authentication by sending a base64 encoded string containing the user's username and password.

  • Store user credentials locally on the user device and use them to authenticate each session with the social media platform.

  • Create a shared user account on the social media platform for the application and all its users.

  • Embed user credentials in the application code and authenticate directly with the social media platform.

  • Use OAuth protocol to request and receive authorization tokens from the social media platform.

CompTIA Security+ SY0-701
Security Operations
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot