Bird
0
0

Which of the following is the correct syntax to define a column family named 'stats' in a Bigtable schema?

easy📝 Syntax Q3 of 15
GCP - Cloud Firestore and Bigtable
Which of the following is the correct syntax to define a column family named 'stats' in a Bigtable schema?
Acolumn_families: { name: 'stats' }
Bcolumn_family: 'stats'
Ccreate column family stats
Dadd family stats to table
Step-by-Step Solution
Solution:
  1. Step 1: Recall Bigtable schema syntax

    Column families are defined using 'column_families' with a name field.
  2. Step 2: Match syntax to options

    column_families: { name: 'stats' } matches the correct protobuf style syntax for column family definition.
  3. Final Answer:

    column_families: { name: 'stats' } -> Option A
  4. Quick Check:

    Correct column family syntax = D [OK]
Quick Trick: Use 'column_families: { name: ... }' to define families [OK]
Common Mistakes:
  • Using singular 'column_family' instead of plural
  • Trying SQL-like syntax which is invalid
  • Omitting braces around family name

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes