Questions
- A grain can have only one state object.
A. True
B. False
Answer – B
- What is the attribute to be used on the grain constructor state parameter?
A. StorageState
B. StatePesistence
C. PersistentState
D. State
Answer – C
- Which interface defines the contract of an Orleans storage provider?
A. IStorage
B. IGrainStorage
C. IPersistentStorage
D. IState
Answer – B
- The Orleans runtime will call the
ReadStateAsync
method of the storage provider to load the state upon grain activation.
A. True
B. False
Answer – A
- Which method handles the cleanup of the grain state?
A. ClearStateAsync
B. CleanStateAsync
C. DeleteStateAsync
D. None
Answer – A