CompTIA Study Materials
AWS Study Materials
AWS Cloud Practitioner AWS Cloud Practitioner
AWS Cloud Practitioner CLF-C02
Microsoft Study Materials
Microsoft Azure Fundamentals Microsoft Azure Fundamentals
Microsoft Azure Fundamentals AZ-900

Free 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?

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

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

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

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

This question is for objective:
Security Operations
Your Score:
Security Operations
Threats, Vulnerabilities, and Mitigations
Security Architecture
Security Program Management and Oversight
General Security Concepts