Test your Ember Data knowledge with a free interactive quiz — 20 questions with answers and explanations. No signup needed to play.
Question 1/5Score 0
How does Ember Data typically handle saving changes made to an already-fetched record (e.g. updating a user's email address)?
Questions in this quiz
How does Ember Data typically handle saving changes made to an already-fetched record (e.g. updating a user's email address)?
What is a reasonable comparison between Ember Data and a more general-purpose data-fetching library (like a plain `fetch()` wrapper, or React Query in a different framework), given that Ember Data is specifically integrated with Ember.js?
How does Ember Data typically handle asynchronous relationships (like the default behavior of `@belongsTo`/`@hasMany`) when a related record hasn't been loaded yet?
What is the purpose of Ember Data's built-in caching/identity-map behavior, and how does it relate to fetching the "same" record multiple times?
What is the purpose of an Ember Data "Adapter"?
What is a reasonable justification for defining explicit relationships (via `@belongsTo`/`@hasMany`) on Ember Data models, rather than just storing a raw foreign-key ID as a plain attribute and manually fetching the related record separately when needed?
What is a reasonable justification for Ember Data's adapter/serializer separation -- keeping "how to talk to the API" (adapter) distinct from "how to translate the data format" (serializer) as two separate concerns?
What is the difference between `store.findRecord()` and `store.peekRecord()` in Ember Data?
What is the purpose of the Ember Data "Store", and how is it typically accessed within an application?
What does `store.createRecord()` do, and how does the resulting record relate to the backend until it's actually saved?
What is the purpose of an Ember Data "Serializer"?
What does calling `.rollbackAttributes()` on a "dirty" (locally modified but not-yet-saved) Ember Data record do?
Gaps to close?
Read the curated Ember Data notes — core concepts, patterns, interview prep.