FC0-U71 Software Development Concepts Practice Question
A mobile app developer wants to integrate weather data into an app. The developer uses an HTTP request to a web service that returns JSON data. The web service requires an API key in the request header for authentication. What is this web service an example of?
⚠ Common exam trap
CompTIA often tests the distinction between REST and SOAP by focusing on data format (JSON vs. XML) and authentication simplicity (API keys vs. WS-Security), leading candidates to confuse REST with GraphQL due to both using JSON, but GraphQL is a query language, not a service architecture.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
REST API
This web service is a REST API because it uses HTTP requests to access and manipulate resources, returns data in JSON format, and requires an API key in the request header for authentication. REST APIs are stateless and rely on standard HTTP methods (GET, POST, etc.), making them ideal for integrating external data like weather information into mobile apps.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
GraphQL API
Why it's wrong here
GraphQL uses queries and is not necessarily RESTful.
- ✗
WebSocket
Why it's wrong here
WebSocket is a protocol for bidirectional communication, not typical for simple data retrieval.
- ✓
REST API
Why this is correct
REST APIs use HTTP and JSON, with API keys for auth.
- ✗
SOAP API
Why it's wrong here
SOAP uses XML and different standards.
Go deeper
Related to this question
About these practice questions
This FC0-U71 question is part of Courseiva's 988-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This FC0-U71 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the FC0-U71 exam.