
Learning Akka (Video 16)
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main difference between 'persist' and 'persistAsync' methods in persistent actors?
'persist' allows new commands during event handling, 'persistAsync' does not.
'persistAsync' allows new commands during event handling, 'persist' does not.
Both methods allow new commands during event handling.
Neither method allows new commands during event handling.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens by default when a persist event fails in a persistent actor?
The actor ignores the error and stops.
The actor logs the error and stops.
The actor logs the error and continues running.
The actor retries the event persistence.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you disable the recovery mode in a persistent actor?
By setting recovery mode to 'off' in the configuration.
By returning 'recovery.none' in the recovery method.
By not implementing a recovery method.
By using 'persistAsync' instead of 'persist'.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What message does a persistent actor receive if a snapshot is saved successfully?
SaveSnapshotFailure
SnapshotSaved
SaveSnapshotSuccess
SnapshotComplete
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When should a snapshot be taken according to the video?
When the state is a multiple of 3.
When the state is a multiple of 5.
When the actor starts.
When the state changes.
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?