The Document Model Flashcards

1
Q

Queries can be issued from the following: [select any that apply]

  • Command line or Terminal
  • Business Intelligence tools
  • Applications
  • Pen and paper
A
  • Command line or Terminal
  • Business Intelligence tools
  • Applications
    x Pen and paper
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Common concerns you’ll hear expressed by a Security persona include: [select any that apply]

  • Data security
  • Transparency and third party attestation
  • Strict adherence to an agile mindset
  • Due diligence and compliance
  • Desire to be using newest apps
A
  • Data security
  • Transparency and third party attestation
    x Strict adherence to an agile mindset
  • Due diligence and compliance
    x Desire to be using newest apps
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

True or False? Although it’s frequently not required, queries in MongoDB can join data from multiple documents.

A

True

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

With a relational database backend, a developer may experience these difficulties: [select any that apply]

  • Learning a new language (SQL)
  • Needing to learn the ERD/schema, and follow it with extreme diligence
  • Difficulty maintaining the schema over time
  • Needing to learn Python
A
  • Learning a new language (SQL)
  • Needing to learn the ERD/schema, and follow it with extreme diligence
  • Difficulty maintaining the schema over time
    x Needing to learn Python
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Developers use ______ oriented code to build applications. [one word]

A

object

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

The Information Security team’s role in the application lifecycle is to:

  • Build apps for the business
  • Manage and maintain apps in production
  • Analyze data to provide insights to the business
  • Maintain compliance to internal/external regulations
  • Develop IT strategy in support of key business initiatives
A

x Build apps for the business
x Manage and maintain apps in production
x Analyze data to provide insights to the business
- Maintain compliance to internal/external regulations
x Develop IT strategy in support of key business initiatives

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

True or False? In any given example, queries in SQL and MQL are roughly similar in length and complexity.

A

False

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

When updating an application to include new data, that may require changing or updating existing queries built into the application. That means a developer using MongoDB needs to do the following: [select any that apply]

  • Update the query within the front end of the application code
  • Update the ORM
  • Update the database/schema
  • Take the database offline to make changes
A
  • Update the query within the front end of the application code
    x Update the ORM
    x Update the database/schema
    x Take the database offline to make changes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

To make managing relational schemas easier, ___________ were invented. [three words]

A

Correct Answer: object relational mapper

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

Expressive queries are queries:

  • Conveying emotion
  • That perform analytics
  • Performed in SQL
  • With two or more conditions
A

x Conveying emotion
x That perform analytics
x Performed in SQL
- With two or more conditions

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

Reasons that applications get changed and updated over time include: [select any that apply]

  • Adding new features
  • Integrating new data
  • Developers purchasing new personal computers
  • Supporting new business requirements
A
  • Adding new features
  • Integrating new data
    x Developers purchasing new personal computers
  • Supporting new business requirements
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Across the internet, and even at the microservices level, most information in the world is exchanged in the ______ format. [one word abbreviation].

A

JSON

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

Your customer needs to ensure they are meeting enterprise-grade security standards. They will likely have required capabilities relating to… [select all that apply]

  • Encryption
  • Authentication
  • Auditing
  • Authorization
  • Explain plans
  • Data Validation
A
  • Encryption
  • Authentication
  • Auditing
  • Authorization
    x Explain plans
    x Data Validation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

MongoDB is built on the ________ data model. [one word]

A

document

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

In MongoDB, data that is _______ [one word] together is _______ [one word] together.

A

Correct Answer: accessed, stored

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

ACID transactions mean the database makes certain ________ to the application. Without them, the developer would need to build these capabilities on their own. [one word]

A

Correct Answer: guarantees

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

MongoDB is incredibly flexible, but sometimes users of MongoDB want to enforce some rules on the database. To make this possible, MongoDB offers _____ _____. [two words]

A

Correct Answer: data validity

18
Q

MongoDB is a ______ purpose database, meaning it’s appropriate for virtually all use cases. [one word]

A

Correct Answer: general

19
Q

When I think about the Document Model, remembering these pillars will help me remember the value it brings: [select any that apply]

  • Universal
  • Faster
  • Bigger
  • Intuitive & flexible
  • Versatile
A
  • Universal
  • Faster
    x Bigger
  • Intuitive & flexible
  • Versatile
20
Q

Upsides (benefits) of documents being analogous to objects in MongoDB include: [select any that apply]

  • Documents require less storage
  • Documents may not require complex data modeling
  • Documents are easier to query
  • Documents require an ORM to query
A

x Documents require less storage
- Documents may not require complex data modeling
- Documents are easier to query
x Documents require an ORM to query

21
Q

This is the process of converting data to an unrecognizable form. It is commonly used to protect sensitive information so that only authorized parties can view it.

  • Encryption
  • Auditing
  • Authorization
  • Authentication
A
  • Encryption
    x Auditing
    x Authorization
    x Authentication
22
Q

True or False? Relational databases can also store JSON data.

A

True

23
Q

“I need to prove I am who I say I am before I can get into the office.” This metaphor describes what key security requirement?

  • Encryption
  • Auditing
  • Authorization
  • Authentication
A

x Encryption
x Auditing
x Authorization
- Authentication

24
Q

In a MongoDB document, a “value” is:

  • A small application
  • Equivalent to a column in a database
  • The information actually being stored
A

x A small application
x Equivalent to a column in a database
- The information actually being stored

25
Q

True or False? In MongoDB, data validation rules need to be setup at the time the database is first created.

A

False

26
Q

When updating an application to include new data, that may require changing or updating existing queries built into the application. That means a developer using a relational database needs to do the following: [select any that apply]

  • Update the query at the front end of the application
  • Update the ORM
  • Update the database/schema
  • Test everything after making updates
A
  • Update the query at the front end of the application
  • Update the ORM
  • Update the database/schema
  • Test everything after making updates
27
Q

A single document: [select any that apply]

  • is a record of something
  • is equivalent to a table in a relational database
  • contains key-value pair(s)
  • contains an entire database
A
  • is a record of something
    x is equivalent to a table in a relational database
  • contains key-value pair(s)
    x contains an entire database
28
Q

This is the process of converting data to an unrecognizable form. It is commonly used to protect sensitive information so that only authorized parties can view it.

  • Encryption
  • Auditing
  • Authorization
  • Authentication
A
  • Encryption
    x Auditing
    x Authorization
    x Authentication
29
Q

To perform analytics in MongoDB, we would utilize the ______ framework (sometimes called pipeline). [one word]

A

Correct Answer: aggregation

30
Q

In a MongoDB document, a “key” is:

  • responsible for encryption
  • a description of “what” is being stored
  • its own query language
A

x responsible for encryption
- a description of “what” is being stored
x its own query language

31
Q

When we think about the document model being Versatile, we want to remember: [select any that apply]

  • The document model can handle virtually any use case
  • All modern databases are equally versatile
  • Not only can documents be used to store virtually any type of data, but MongoDB also provides a versatile query language that allows developers to easily access that data
  • Relational databases are equally suited to virtually any use case
A
  • The document model can handle virtually any use case
    x All modern databases are equally versatile
  • Not only can documents be used to store virtually any type of data, but MongoDB also provides a versatile query language that allows developers to easily access that data
    x Relational databases are equally suited to virtually any use case
32
Q

“I’m in the office but I am not allowed to access the data center; only the CTO can access the data center.” This metaphor describes which key security requirement?

  • Encryption
  • Auditing
  • Authorization
  • Authentication
A

x Encryption
x Auditing
- Authorization
x Authentication

33
Q

In a real world apples-to-apples comparison (i.e. when running on the same hardware), MongoDB being faster than a relational database comes down to this branch of science:

  • Biology
  • Chemistry
  • Physics
  • Psychology
A

x Biology
x Chemistry
- Physics
x Psychology

34
Q

In MongoDB, ______ [one word] and ______ [one word] are analogous with one another.

HINT: think about our data model.

A

Correct Answer: document, object

35
Q

When a user presses a button in an application which results in new information appearing on screen, you can safely infer that the developer hard coded a _____ to read the information from a database. [one word]

A

Correct Answer: query

36
Q

One of the perks of MQL is that it’s based upon this popular programming language:

  • Python
  • Java
  • JavaScript
  • Fortran
A

x Python
x Java
- JavaScript
x Fortran

37
Q

On disk _______ refers to scrambling data at rest.

A

Correct Answer: encryption

38
Q

True or False? All databases have expressive query languages included with them.

A

False

39
Q

Role-based access controls is an example of how MongoDB does:

  • Encryption
  • Auditing
  • Authorization
  • Authentication
A

x Encryption
x Auditing
- Authorization
x Authentication

40
Q

If we didn’t offer Data Validity in MongoDB, that would mean:

  • Developers are out of luck
  • Developers would need to waste time building those rules themselves at the application level
  • Nothing, because Data Validation rules aren’t needed in MongoDB
A

x Developers are out of luck
- Developers would need to waste time building those rules themselves at the application level
x Nothing, because Data Validation rules aren’t needed in MongoDB

41
Q

In general, “compliance” is the combination of adhering to policies around… [select all that apply]

  • People
  • Process
  • Technology/Product
  • Project Management
  • Pricing
A
  • People
  • Process
  • Technology/Product
    x Project Management
    x Pricing