Premium

DataStax Cassandra Developer Certification Certification Questions and Answer (Dumps and Practice Questions)



Question : Which all of the below can be configured in cassandra.yaml configuration file
A. Caching parameters for tables
B. Properties for tuning and resource utilization
C. Timeout settings
D. Client connections
E. Backups
F. Security

 : Which all of the below can be configured in cassandra.yaml configuration file
1. A,B,C
2. C,D,E
3. D,E,F
4. A,B,E
5. A,B,C,D,E,F

Correct Answer : 5
Explanation: Recommended for production. It defines a node's data center and rack and uses gossip for propagating
this information to other nodes.

The cassandra.yaml configuration file
The main configuration file for setting the initialization properties for a cluster, caching parameters for tables, properties
for tuning and resource utilization, timeout settings,
client connections, backups, and security.
By default, a node is configured to store the data it manages in a directory set in the cassandra.yaml file.
In a production cluster deployment, you can change the commitlog-directory to a different disk drive from the
data_file_directories.





Question : You can set storage configuration attributes on a
A. per-keyspace basis
B. per-table basis
C. per column-family basis
D. per data-center basis

 : You can set storage configuration attributes on a
1. A,B
2. B,C
3. C,D
4. A,D
5. B,D

Correct Answer : 1
Explanation: You set storage configuration attributes on a per-keyspace or per-table basis programmatically or
using a client application, such as CQL.




Question : _______ allows distribution of data across a cluster to minimize reorganization when nodes are added or removed
and it partitions data based on the __________


 : _______ allows distribution of data across a cluster to minimize reorganization when nodes are added or removed
1. Consistent hashing, partition key

2. Random hashing, primary key

3. Consistent hashing, hash key

4. Replication, Replication strategy


Correct Answer : 1
Explanation: Consistent hashing allows distribution of data across a cluster to minimize reorganization when nodes
are added or removed. Consistent hashing partitions data based on the partition key.


Related Questions


Question : You have been given below ER Diagram


What is the correct table design to satisfy below query?

Query: Find all books that is subscribed by a subscriber, subject and support writing year range, with most writing year first
then sorted by title.

 : You have been given below ER Diagram
1. A
2. B
3. Access Mostly Uused Products by 50000+ Subscribers
4. D


Question : You have been given below conceptual data model


And you have below Access pattern , which of the following is valid table design

where course_name=? and publish_date=?

 : You have been given below conceptual data model
1. A
2. B
3. Access Mostly Uused Products by 50000+ Subscribers
4. D


Question : As you know, in Cassandra tables, must have primary keys. For primary key, you can use either TimeUUID or UUID
only?
Which of the following you can say is a Timeuuid?

 : As you know, in Cassandra tables, must have primary keys. For primary key, you can use either TimeUUID or UUID
1. 52b11d6d-16e2-4ee2-b2a9-425861b86ab6

2. 1be43390-9fe4-11e3-8d05-425861b86ab6

3. Access Mostly Uused Products by 50000+ Subscribers

4. 1be43390-9fe4-31e3-8d05-425861b86ab6



Question : Which of the following is correct for TIMEUUID?



 : Which of the following is correct for TIMEUUID?
1. It is Sortable and can be used with time series data

2. Can be generated using now() function

3. Access Mostly Uused Products by 50000+ Subscribers

4. 1,2

5. 1,2 and 3



Question : Which of the following statement is true, with regards to Timestamp datatype in Cassandra?

A. Stores date and time
B. 64-bit integer
C. It represent Milliseconds since January 1 1970 at 00:00:00 GMT
D. Displayed in cqlsh as yyyy-mm-dd HH:mm:ssZ
E. As literal in cqlsh is '1979-07-24 08:30:15'

 : Which of the following statement is true, with regards to Timestamp datatype in Cassandra?
1. A,B,C
2. B,C,D
3. Access Mostly Uused Products by 50000+ Subscribers
4. A,D,E
5. A,B,C,D,E


Question : Does Cassandra capture microseconds with timestamp data type?
 : Does Cassandra capture microseconds with timestamp data type?
1. No
2. Yes