
đa ta bây
Authored by Trang Dương Thùy
Fun
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1️⃣ What is the primary advantage of using Golang memdb?
A. Persistence on disk
B. Eliminates disk access for faster response
C. Automatic indexing in SQL
D. Built-in transactions across servers
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2️⃣ What is a key limitation of memdb?
A. No transaction support
B. Vulnerability to data loss on server crash
C. Very slow for lookups
D. Requires external database driver
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3️⃣ Which use case is not ideal for memdb?
A. Session store
B. Realtime analytics
C. High-traffic spike apps
D. Long-term archival storage
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4️⃣ In memdb schema, StringFieldIndex{Field: "Email"} implies:
A. Sorting by email auto on disk
B. Unique index on Email for lookups
C. Non-unique index for range queries
D. Email will be stored as binary
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5️⃣ What does txn.LowerBound("person", "age", 25) return?
A. Objects with age <= 25
B. Objects with age ≥ 25, ordered by age
C. First object with age exactly 25
D. None
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6️⃣ Why does memdb use First(table, "id", value)?
A. To update existing records
B. To fetch the first matching object by index
C. To delete the first record
D. To perform full table scan
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7️⃣ How do you insert or update an object in memdb?
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?