CoursesHandling schema changes confidentlySchema Change Management Quiz
Certification
Sanity developer certification
Track
Sanity developer essentials

Handling schema changes confidently

Lesson
9

Schema Change Management Quiz

Log in to mark your progress for each Lesson and Task
You must be logged in to answer questions
What happens when you run sanity documents validate -y in your Sanity project?
1
It validates the schema against the content in your dataset, and outputs warnings for missing fields and references
2
It validates the JavaScript syntax in your schema files
3
It validates the HTML output of your front end
4
It validates the accessibility of your front end
You must be logged in to answer questions
What is the purpose of the deprecated property on a field in Sanity Studio?
1
It prevents you from publishing changes to the field
2
It removes the field from the document model
3
It prevents the field from being queried
4
It shows a warning to the content editor that the field is deprecated
You must be logged in to answer questions
What does it mean that a function or operation is idempotent in the context of data and content migration?
1
It means that you can run the function or operation multiple times and get the same result
2
It means that you can run the function or operation in parallel with other operations
3
It means that the function or operation can be undone
4
It means that the function or operation can be paused and resumed
You must be logged in to answer questions
What does the migration create command in the Sanity CLI do?
1
It creates a new dataset
2
It creates a new Sanity project
3
It creates a new migration script
4
It creates a new document in the dataset
You must be logged in to answer questions
What does the migration run command in the Sanity CLI do?
1
It runs the migration script in a new Docker container
2
It runs a migration script against your dataset
3
It runs the migration script in the cloud
4
It runs the migration script in the browser
You must be logged in to answer questions
What happens when you add readOnly: true to a field in Sanity Studio?
1
It prevents the field from being queried in the GraphQL API
2
It prevents the field from being displayed in the document form
3
It prevents the content editor from making changes to the field
4
It prevents the field from being indexed in the search
You must be logged in to answer questions
What is the purpose of the coalesce() function in GROQ?
1
It returns the first non-null argument
2
It concatenates two strings
3
It calculates the sum of two numbers
4
It returns the last non-null argument
You must be logged in to answer questions
What is the purpose of the filter property in a migration script?
1
It removes filtered documents from the dataset
2
It reduces the number of webhooks used in a migration
3
It refines the documents effected in the migration
4
It modifies which users can run migrations
You have 8 uncompleted questions in this lesson
0 of 8