Databases Flashcards

1
Q

What is RDF4J?

A

Eclipse RDF4J (formerly OpenRDF Sesame) is an open-source framework for storing, querying, and analyzing RDF data.

In SQL relational database terms, RDF data can also be considered a table with three columns – the subject column, the predicate column, and the object column.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does RDF4J contain?

A

It contains implementations of an in-memory triplestore and an on-disk triplestore, along with two separate Servlet packages that can be used to manage and provide access to these triplestores, on a permanent server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What languages does RDF4J support?

A

RDF4J supports two query languages: SPARQL and SeRQL.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is SPARQL?

A

An RDF query language—that is, a semantic query language for databases—able to retrieve and manipulate data stored in Resource Description Framework (RDF) format.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does SPARQL allow?

A

SPARQL allows for a query to consist of triple patterns, conjunctions, disjunctions, and optional patterns against what can loosely be called “key-value” data or, more specifically, data that follow the RDF specification of the W3C. Thus, the entire database is a set of “subject-predicate-object” triples. This is analogous to some NoSQL databases’ usage of the term “document-key-value”, such as MongoDB.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Amazon Neptune?

A

A fast, reliable, fully-managed graph database service that makes it easy to build and run applications that work with highly connected datasets.

The core of Neptune is a purpose-built, high-performance graph database engine optimized for storing billions of relationships and querying the graph with milliseconds latency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are use cases for Neptune?

A

For graph use cases such as recommendation engines, fraud detection, knowledge graphs, drug discovery, and network security.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What languages does Neptune support?

A

Amazon Neptune supports both the open source Apache TinkerPop Gremlin graph traversal language and the W3C standard Resource Description Framework’s (RDF) SPARQL query language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Is Neptune ACID compliant?

A

Yes, Neptune is ACID compliant with immediate consistency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Can I encrypt an existing decrypted Neptune database?

A

Currently, encrypting an existing unencrypted Neptune instance is not supported. To use Amazon Neptune encryption for an existing unencrypted database, create a new DB Instance with encryption enabled and migrate your data into it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Does RDS support Oracle RAC?

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is UPSERT?

A

For Redshift, an UPSERT function allows us to either insert as a new record or update if a record of the same key already exists. Redshift can do this using a merge operation with a staging table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How does RDS handle updates?

A

For RDS, certain OS updates are marked as Required. If you defer a required update, you receive a notice from Amazon RDS indicating when the update will be performed. Other updates are marked as Available, and these you can defer indefinitely. You can also apply the maintenance items immediately or schedule the maintenance for your next maintenance window.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How do you disable RDS backups?

A

Read Replicas require backups for managing read replica logs and thus you cannot set the retention period to 0. You must first remove the read replicas and then you can disable backups.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is one way to save costs regarding Redshift backups?

A

There is no additional charge for backup storage up to 100% of your provisioned storage for an active data warehouse cluster. If you reduce to a 1-day retention period it can save costs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly