The Complete Strapi™ Course with Plugins and Deployment - Lifecycle Hooks Exercise: Part 2 (Challenge Solution)

The Complete Strapi™ Course with Plugins and Deployment - Lifecycle Hooks Exercise: Part 2 (Challenge Solution)

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial explains how to create a new Author content type in a content management system. It covers disabling the draft publish system, adding required fields like first name, last name, email, and username, and establishing a 1-to-1 relation with an admin user. The tutorial also discusses configuring post author relations to point to the new Author type, allowing multiple authors per post, and using lifecycle hooks for automatic author assignment. Finally, it highlights syncing authors with admin users and automating processes using lifecycle hooks.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in creating a new Author content type?

Enable the draft publish system

Add a relation with the admin user

Create a new post

Disable the draft publish system

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which field is NOT required when setting up the Author content type?

Last name

Phone number

Email

First name

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What change is made to the post's author relationship?

It points to a guest user

It points to the Author content type

It points to a moderator

It points to the admin user

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is the first author of a post set automatically?

Through a random assignment

By using a manual selection

By admin approval

Using lifecycle hooks

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of lifecycle hooks in this context?

To manually add authors

To automatically create and assign authors

To delete authors

To notify users of changes