The Complete Strapi™ Course with Plugins and Deployment - Premium Posts: Solution 3
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main advantage of creating a custom service to fetch non-premium posts?
It reduces the need for authentication.
It allows for more complex queries.
It increases the speed of data retrieval.
It cleans up the controller's code.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the new async find method, what is the primary change compared to the previous implementation?
It adds more filters to the query.
It uses a different database.
It uses a custom service for logic execution.
It modifies the incoming query object.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the new custom service do with the query object?
It deletes unnecessary fields.
It logs the query for debugging.
It adds a filter for non-premium posts.
It encrypts the query for security.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does the custom service interact with the entity service?
It uses a different API endpoint.
It bypasses the entity service.
It sends a modified query object.
It sends the original query object.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the final step after the custom service returns data?
The data is directly sent to the client.
The data is stored in a database.
The controller shapes the data for the client.
The data is discarded if not needed.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is the new solution considered the cleanest?
It is faster than previous solutions.
It requires no additional services.
It separates data processing from the controller.
It uses fewer lines of code.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of the controller in the new solution?
To directly interact with the database.
To call the custom service and shape the response.
To handle authentication only.
To perform all data processing.
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University