Enumerations Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Data Model Design

What you'll be asked

  1. What is the primary purpose of using an Enumeration (Enum) in a data model?
  2. When designing a system for an e-commerce platform, which of the following scenarios is the most appropriate use case for an Enumeration?
  3. If a business requirement dictates that the list of 'Country Codes' must be updated frequently by non-technical staff via an admin panel, why might an Enum be a poor architectural choice?
  4. In a microservices architecture, what is a significant risk of using Enums shared across different services?
  5. You are designing a system where an 'AccountType' field must support 'Individual', 'Corporate', and 'Government' types. You decide to use an integer-based Enum in the database. What is the best practice for handling future changes to these types?

Answers and explanations come after you submit.