Question-2: Which of the following is correct with regards to data read/write in/out Cassandra?
- You can use COPY command to read csv data to Cassandra
- You can use COPY command to write CSV data from Cassandra to a file system.
- You can use DUMP command to write CSV data from Cassandra to a file system.
- You can use sstableloader to bulk upload external data to Cassandra.
- You can use COPY command to bulk upload external data to Cassandra.
- You can use DUMP command to bulk upload external data to Cassandra.
Ans: A, B, D
Exp: We can use COPY command to read CSV data to DSE and write CSV data from DSE to a file system. Hence, option-1 and 2 both are correct.
Similarly, sstableloader provides the ability to bulk load external data into Cassandra Cluster. Hence, option-4 is also correct.
We do not have DUMP command. Hence, option 3 and 5 are wrong.