Question 21
EasyWhat is caching?
- A.
Encrypting data
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
DBMS
What is caching?
Encrypting data
Keeping frequently used data in fast storage so that it can be served quickly
Printing data
Deleting old data
Sign up free to see the answer and a step-by-step explanation.
In a graph database, what does a node usually represent?
A query
A table
A relationship
An entity, such as a person or a product
Sign up free to see the answer and a step-by-step explanation.
In a graph database, what does an edge represent?
A relationship between two nodes, such as 'follows' or 'bought'
An entity
A backup
A column
Sign up free to see the answer and a step-by-step explanation.
In Apache Cassandra, what does the partition key decide?
The colour of the data
Which node in the cluster stores a row
The password for a table
The order of columns
Sign up free to see the answer and a step-by-step explanation.
What does 'polyglot persistence' mean?
Keeping data forever
Using different kinds of databases for different needs within one application
Translating queries
Storing data in many languages
Sign up free to see the answer and a step-by-step explanation.
Which of these is a document database?
PostgreSQL
CouchDB
Redis
Neo4j
Sign up free to see the answer and a step-by-step explanation.
What is time-to-live (TTL) in many NoSQL stores?
The age of the database
The time taken by a query
The time a server stays switched on
A setting that makes data expire automatically after a set time
Sign up free to see the answer and a step-by-step explanation.
What does the CAP theorem say about a distributed data store?
It can always provide consistency, availability and partition tolerance together
It must sacrifice partition tolerance
It needs a single server
During a network partition it must choose between consistency and availability
Sign up free to see the answer and a step-by-step explanation.
What does BASE stand for in NoSQL systems?
Basically Available, Soft state, Eventually consistent
Backup And Snapshot Execution
Binary Atomic Storage Engine
Balanced And Secure Encryption
Sign up free to see the answer and a step-by-step explanation.
What is eventual consistency?
Data is never replicated
Every read always sees the latest write
If no new updates are made, all replicas will eventually hold the same value
Writes are always rejected
Sign up free to see the answer and a step-by-step explanation.