1. CREATE TABLE countries (
2. country text,
3. state text,
4. pop int STATIC,
5. PRIMARY KEY (country, state)
6. );
7.
8. INSERT INTO countries (country, state, pop) VALUES ('USA', 'Oregon', 4200000);
9. INSERT INTO countries (country, state, pop) VALUES ('USA', 'Idaho', -1);
10. INSERT INTO countries (country, state, pop) VALUES ('USA', 'Idaho', 1700000);
1. CREATE KEYSPACE mykeyspace
2. WITH replication = {'class': 'NetworkTopologyStrategy', 'DC1': 3, 'DC2': 3};
DC1 has 4 nodes active and 2 down, DC2 has 3 nodes active and one down.
Which of the next statements is true?
What can NOT happen on an UPDATE query for one single row, when the consistency level is set to ONE?
Why all operations are strongly consistent?
© Copyrights DumpsEngine 2026. All Rights Reserved
We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the DumpsEngine.
