GraphQL - Schema Definition Language (SDL)Which of the following is a valid enum value name in GraphQL?Aactive-statusBactiveStatusC123ACTIVEDACTIVE_STATUSCheck Answer
Step-by-Step SolutionSolution:Step 1: Recall enum value naming rulesEnum values must be uppercase letters and underscores, no lowercase or special characters.Step 2: Check each optionACTIVE_STATUS is uppercase with underscore, valid; others have lowercase, digits at start, or hyphens.Final Answer:ACTIVE_STATUS -> Option DQuick Check:Enum value names = uppercase + underscores [OK]Quick Trick: Enum values use uppercase letters and underscores only [OK]Common Mistakes:Using lowercase lettersStarting with digitsIncluding hyphens or special chars
Master "Schema Definition Language (SDL)" in GraphQL9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More GraphQL Quizzes GraphQL Basics and Philosophy - GraphQL Playground and tools - Quiz 9hard Mutations - Delete mutation pattern - Quiz 15hard Mutations - Mutation syntax - Quiz 13medium Queries - Why queries request specific data - Quiz 3easy Queries - Query arguments - Quiz 7medium Schema Definition Language (SDL) - Scalar types (String, Int, Float, Boolean, ID) - Quiz 12easy Schema Definition Language (SDL) - List types - Quiz 10hard Schema Definition Language (SDL) - List types - Quiz 9hard Schema Definition Language (SDL) - Required fields with non-null (!) - Quiz 6medium Type Relationships - One-to-many relationships - Quiz 7medium