ログイン

(Pre-Finals) Advanced Database Systems Mocktest BSIT 505
72問 • 2ヶ月前
  • Xai Alexandrei Delos Reyes
  • 通報

    問題一覧

  • 1

    a management-oriented role that concerns controlling the overall corporate data resources, both computerized and manual.

    Data Administrator (DA)

  • 2

    a person who maintains a successful database environment by directing or performing all related activities to keep the data secure.

    Database Administrator (DBA)

  • 3

    Who's Responsibility is it to determine the contents and logical boundaries of each database?

    Data Administrator (DA)

  • 4

    Who is responsible for the design, implementation, maintenance, and security of physical structures

    Database Administrator (DBA)

  • 5

    Which of the following is NOT TRUE about Data Administrator (DA) Activities and Tasks?

    Facilitates the development and use of the database

  • 6

    Which of the following is NOT TRUE about Database Administrator (DBA) Activities and Tasks?

    Analyze and perform business data requirements

  • 7

    Which statement best describes Database security?

    It refers to DBMS features and other related measures that comply with the organization’s security requirements.

  • 8

    Which statement best describes SQL security model?

    It provides a basic syntax used to specify security restrictions. The DBMS will then implement the security system and enforce the required restrictions.

  • 9

    This represents people or programs performing actions on objects in the database. The DBMS grants users an ID for authentication and privileges to perform specific actions on specific tables/rows.

    Users

  • 10

    These are the things defined by SQL standards in the database that users can manipulate. This includes rows, columns, tables, indexes, and views.

    Objects

  • 11

    This refers to the rights of users to manipulate objects. These privileges start with SELECT, INSERT, DELETE, and UPDATE, ALTER, INDEX, AND REFERENCES for database objects.

    Privileges

  • 12

    it is a named collection of database access privileges that authorize a user to connect to the database and use its system resources.

    Roles

  • 13

    Which statement best describes Authentication and Authorization?

    It is where setting up security begins with

  • 14

    Which statement best describes "Server-Level"?

    It includes logins and server roles.

  • 15

    Which statement best describes "Database-Level"?

    It include users and database roles.

  • 16

    Which statement best describes "Login"?

    It allows you to connect to the SQL Server service (also called an instance), and permissions inside the database are granted to the database users

  • 17

    What is the correct syntax to create a new login in T-SQL?

    CREATE LOGIN login_name_test WITH PASSWORD = 'Mypassword';

  • 18

    What is the correct Syntax for changing the login name?

    ALTER LOGIN login_name_test WITH NAME = newlogin_name;

  • 19

    What is the correct syntax to change the User's password in T-SQL?

    ALTER LOGIN newlogin_name WITH PASSWORD = 'Newpassword';

  • 20

    is a command used to provide access or privileges on the database objects to the users.

    GRANT

  • 21

    It is a command used to remove privileges from a specific user or role or from all users to perform actions on database objects

    REVOKE

  • 22

    The user named user1 that we have created before does not have any access to myDB. Using the GRANT command, we want user1 to be able to view and modify the data in the myDB database. What is the correct syntax?

    GRANT SELECT, UPDATE ON [Names] TO user1

  • 23

    We want to remove the modifying privilege of user1. What is the correct syntax?

    REVOKE UPDATE ON [Names] TO user1

  • 24

    these are roles that are predefined in the database

    fixed-database roles

  • 25

    these roles that you can create on your own based on your preferences.

    user-defined database roles

  • 26

    Members of the this role can perform all configuration and maintenance activities on the database and can also drop the database in SQL Server.

    db_owner

  • 27

    Members of this role can modify role membership for custom roles only and manage permissions. Members of this role can potentially elevate their privileges.

    db_securityadmin

  • 28

    Members of this role can add or remove access to the database for Windows logins, Windows groups, and SQL Server logins.

    db_accessadmin

  • 29

    Members of this role can back up the database.

    db_backupoperator

  • 30

    Members of this role can run any Data Definition Language (DDL) command in a database.

    db_ddladmin

  • 31

    Members of this role can add, delete, or change data in all user tables

    db_datawriter

  • 32

    Members of this role can read all data from all user tables.

    db_datareader

  • 33

    Members of this role cannot add, modify, or delete any data in the user tables within a database.

    db_denydatawriter

  • 34

    Members of this role cannot read any data in the user tables within a database.

    db_denydatareader

  • 35

    We can assign a db_owner role to the user1. what is the correct syntax?

    ALTER ROLE db_owner ADD MEMBER user1

  • 36

    We can also create a user-defined database role having the privilege of viewing and updating the data in table "Names". What's the correct syntax?

    CREATE ROLE [Admin1] GO GRANT SELECT, UPDATE ON [Names] TO [Admin1] GO

  • 37

    It is a copy of data from your database that can be used to reconstruct that data. These can be divided into physical backups and logical backups.

    Backup

  • 38

    These are backups of the physical files used in storing and recovering your database, such as data files, control files, and archived redo logs. Every physical backup is a copy of files storing database information to some other location, whether on disk or some offline storage such as tape.

    Physical backups

  • 39

    It contain logical data (for example, tables or stored procedures) exported from a database management system (DBMS) and stored in a binary file for later re-importing into a database using the corresponding DBMS restore/import utility.

    Logical backups

  • 40

    It is to keep track of all transactions that update the database. The information stored in this log is used by the DBMS for a recovery requirement triggered by a ROLLBACK statement. Some DBMS uses the transaction log to recover a database forward to a currently consistent state.

    Transaction log

  • 41

    It is a mechanism where all the previous logs are removed from the system and stored permanently in a storage disk. Checkpoint declares a point before which the DBMS was in a consistent state, and all the transactions were committed.

    Checkpoint

  • 42

    Which statement best describes Proper backup identification?

    Backups must be clearly identified through detailed descriptions and date information, thus enabling the DBA to ensure that the correct backups are used to recover the database. Nowadays, the most common backup mediums are disk-based backup devices and cloud-based data storage.

  • 43

    Which statement best describes Convenient and safe backup storage?

    Multiple backups of the same data are required, and each backup copy must be stored in a different location. The storage locations must include sites inside and outside the organization.

  • 44

    Which statement best describes Physical protection of both hardware and software?

    Protection might include the use of closed installations with restricted access, as well as preparation of the computer sites to provide air conditioning, backup power, and fire protection.

  • 45

    Which statement is NOT TRUE about Hardware/software failures?

    is caused by a careless end-user. Such errors include deleting the wrong rows from a table, pressing the wrong key on the keyboard, or shutting down the main database server by accident.

  • 46

    It is caused by a careless end-user. Such errors include deleting the wrong rows from a table, pressing the wrong key on the keyboard, or shutting down the main database server by accident.

    unintentional failure

  • 47

    These are of a more severe nature and normally indicate that the company data is at serious risk. Under this category are security threats caused by hackers trying to gain unauthorized access to data resources and virus attacks caused by disgruntled employees trying to compromise the database operation and damage the company.

    Intentional events

  • 48

    Which statement is NOT TRUE about Big Data?

    This refers to the rate at which new data enters the system as well as the rate at which the data must be processed.

  • 49

    is used to label large volumes of data that push the limits of conventional software. This data is usually unstructured or semi-structured and may originate from a wide variety of sources

    Big Data

  • 50

    the quantity of data to be stored, is a key characteristic of big data. The storage capacities associated with big data are extremely large.

    Volume

  • 51

    It is another key characteristic of big data. This refers to the rate at which new data enters the system as well as the rate at which the data must be processed.

    Velocity

  • 52

    In a big data context, it refers to the vast array of formats and structures in which the data may be captured

    Variety

  • 53

    A new generation of database management systems that is not based on the traditional relational database model (SQL)

    NoSQL DBMS

  • 54

    Which statement is NOT TRUE about NoSQL DBMS?

    These are based on graph theory and represent data through nodes, edges, and properties

  • 55

    What NoSQL Data Model is being described? It is the simplest of the NoSQL data models. It stores data as a collection of key-value pairs. Greatly simplifies the work that the DBMS must perform, making These databases extremely fast and scalable for basic processing.

    Key-value (KV) database

  • 56

    Which statement is NOT TRUE about Column-oriented databases

    These are based on graph theory and represent data through nodes, edges, and properties.

  • 57

    Which statement is NOT TRUE about Graph databases?

    These databases are conceptually similar to key-value databases, and they can almost be considered a subtype of KV databases.

  • 58

    Which statement is NOT TRUE about Document-Oriented databases

    All columns in one row are rarely needed at once, but there are groups of columns that are often read together.

  • 59

    Which statement is FALSE about MongoDB?

    It is based on graph theory and represent data through nodes, edges, and properties.

  • 60

    MongoDB groups collections into these. A single instance of MongoDB can host several of these, each of which can be thought of as completely independent.

    Database

  • 61

    It can be thought of as a table with a dynamic schema.

    Collections

  • 62

    It is the basic unit of data for MongoDB, roughly equivalent to a row in a relational database management system (but much more expressive).

    Document

  • 63

    In MongoDB, you don't need to create a database manually because MongoDB will create it automatically, what is the correct syntax that will automatically create a new database

    use FirstMongoDB

  • 64

    To check the currently selected database in MongoDB, What command is used?

    db

  • 65

    To query the database list in mongoDB, what command is used?

    show dbs

  • 66

    What is the correct syntax to create a document inside the FirstMongoDB database?

    db.student.insertMany([ {name: "John Smith"}, {name: "John Cedrick"} ])

  • 67

    To query the newly created documents in mongoDB, what is the correct syntax?

    db.student.find()

  • 68

    to query the database collection lists in mongoDB, what is the correct syntax?

    show collections

  • 69

    To manually create a collection in mongoDB, what is the correct syntax?

    db.createCollection("Teacher")

  • 70

    To remove or drop a document in mongoDB, what is the correct syntax?

    db.student.remove({name: "John Cedrick"})

  • 71

    To remove or drop a collection in the database, what is the correct syntax?

    db.student.drop()

  • 72

    To delete the currently selected database in mongoDB, what is the correct syntax?

    db.dropDatabase()

  • The Contemporary World Mock test (Prelims)

    The Contemporary World Mock test (Prelims)

    Xai Alexandrei Delos Reyes · 58問 · 2年前

    The Contemporary World Mock test (Prelims)

    The Contemporary World Mock test (Prelims)

    58問 • 2年前
    Xai Alexandrei Delos Reyes

    Computing Mock test (Prelims)

    Computing Mock test (Prelims)

    Xai Alexandrei Delos Reyes · 67問 · 2年前

    Computing Mock test (Prelims)

    Computing Mock test (Prelims)

    67問 • 2年前
    Xai Alexandrei Delos Reyes

    Programming Mock Test (Prelims)

    Programming Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 64問 · 2年前

    Programming Mock Test (Prelims)

    Programming Mock Test (Prelims)

    64問 • 2年前
    Xai Alexandrei Delos Reyes

    Entrepreneurship Mock Test (Prelims)

    Entrepreneurship Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 23問 · 2年前

    Entrepreneurship Mock Test (Prelims)

    Entrepreneurship Mock Test (Prelims)

    23問 • 2年前
    Xai Alexandrei Delos Reyes

    Computing Mock Test (Midterms) BSIT 107

    Computing Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 76問 · 2年前

    Computing Mock Test (Midterms) BSIT 107

    Computing Mock Test (Midterms) BSIT 107

    76問 • 2年前
    Xai Alexandrei Delos Reyes

    Math Mock Test (Prelims)

    Math Mock Test (Prelims)

    Xai Alexandrei Delos Reyes · 48問 · 2年前

    Math Mock Test (Prelims)

    Math Mock Test (Prelims)

    48問 • 2年前
    Xai Alexandrei Delos Reyes

    Programming Mock Test (Midterms) BSIT 107

    Programming Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 52問 · 2年前

    Programming Mock Test (Midterms) BSIT 107

    Programming Mock Test (Midterms) BSIT 107

    52問 • 2年前
    Xai Alexandrei Delos Reyes

    UTS Mock Test (Midterms) BSIT107

    UTS Mock Test (Midterms) BSIT107

    Xai Alexandrei Delos Reyes · 40問 · 2年前

    UTS Mock Test (Midterms) BSIT107

    UTS Mock Test (Midterms) BSIT107

    40問 • 2年前
    Xai Alexandrei Delos Reyes

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 38問 · 2年前

    Entrepreneurship Mock Test (Midterms) BSIT 107

    Entrepreneurship Mock Test (Midterms) BSIT 107

    38問 • 2年前
    Xai Alexandrei Delos Reyes

    Contemporary World Mock Test (Midterms) BSIT 107

    Contemporary World Mock Test (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 28問 · 2年前

    Contemporary World Mock Test (Midterms) BSIT 107

    Contemporary World Mock Test (Midterms) BSIT 107

    28問 • 2年前
    Xai Alexandrei Delos Reyes

    Math Mocktest (Midterms) BSIT 107

    Math Mocktest (Midterms) BSIT 107

    Xai Alexandrei Delos Reyes · 24問 · 2年前

    Math Mocktest (Midterms) BSIT 107

    Math Mocktest (Midterms) BSIT 107

    24問 • 2年前
    Xai Alexandrei Delos Reyes

    Computer Programming Mocktest (Pre-finals)

    Computer Programming Mocktest (Pre-finals)

    Xai Alexandrei Delos Reyes · 26問 · 2年前

    Computer Programming Mocktest (Pre-finals)

    Computer Programming Mocktest (Pre-finals)

    26問 • 2年前
    Xai Alexandrei Delos Reyes

    Math Mocktest (Pre-Finals)

    Math Mocktest (Pre-Finals)

    Xai Alexandrei Delos Reyes · 19問 · 2年前

    Math Mocktest (Pre-Finals)

    Math Mocktest (Pre-Finals)

    19問 • 2年前
    Xai Alexandrei Delos Reyes

    Computing Mock Test (Pre-finals)

    Computing Mock Test (Pre-finals)

    Xai Alexandrei Delos Reyes · 36問 · 2年前

    Computing Mock Test (Pre-finals)

    Computing Mock Test (Pre-finals)

    36問 • 2年前
    Xai Alexandrei Delos Reyes

    Computing Mock Test Finals

    Computing Mock Test Finals

    Xai Alexandrei Delos Reyes · 26問 · 2年前

    Computing Mock Test Finals

    Computing Mock Test Finals

    26問 • 2年前
    Xai Alexandrei Delos Reyes

    Comprog 2nd sem (prelims) BSIT 205

    Comprog 2nd sem (prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 63問 · 1年前

    Comprog 2nd sem (prelims) BSIT 205

    Comprog 2nd sem (prelims) BSIT 205

    63問 • 1年前
    Xai Alexandrei Delos Reyes

    Discrete Math 2nd sem (prelims) BSIT 205

    Discrete Math 2nd sem (prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 36問 · 1年前

    Discrete Math 2nd sem (prelims) BSIT 205

    Discrete Math 2nd sem (prelims) BSIT 205

    36問 • 1年前
    Xai Alexandrei Delos Reyes

    Art Appreciation (Prelim) BSIT 205

    Art Appreciation (Prelim) BSIT 205

    Xai Alexandrei Delos Reyes · 56問 · 1年前

    Art Appreciation (Prelim) BSIT 205

    Art Appreciation (Prelim) BSIT 205

    56問 • 1年前
    Xai Alexandrei Delos Reyes

    Ethics 2nd sem (Prelims) BSIT 205

    Ethics 2nd sem (Prelims) BSIT 205

    Xai Alexandrei Delos Reyes · 45問 · 1年前

    Ethics 2nd sem (Prelims) BSIT 205

    Ethics 2nd sem (Prelims) BSIT 205

    45問 • 1年前
    Xai Alexandrei Delos Reyes

    STS 2nd Sem (Prelim) BSIT 205

    STS 2nd Sem (Prelim) BSIT 205

    Xai Alexandrei Delos Reyes · 40問 · 1年前

    STS 2nd Sem (Prelim) BSIT 205

    STS 2nd Sem (Prelim) BSIT 205

    40問 • 1年前
    Xai Alexandrei Delos Reyes

    問題一覧

  • 1

    a management-oriented role that concerns controlling the overall corporate data resources, both computerized and manual.

    Data Administrator (DA)

  • 2

    a person who maintains a successful database environment by directing or performing all related activities to keep the data secure.

    Database Administrator (DBA)

  • 3

    Who's Responsibility is it to determine the contents and logical boundaries of each database?

    Data Administrator (DA)

  • 4

    Who is responsible for the design, implementation, maintenance, and security of physical structures

    Database Administrator (DBA)

  • 5

    Which of the following is NOT TRUE about Data Administrator (DA) Activities and Tasks?

    Facilitates the development and use of the database

  • 6

    Which of the following is NOT TRUE about Database Administrator (DBA) Activities and Tasks?

    Analyze and perform business data requirements

  • 7

    Which statement best describes Database security?

    It refers to DBMS features and other related measures that comply with the organization’s security requirements.

  • 8

    Which statement best describes SQL security model?

    It provides a basic syntax used to specify security restrictions. The DBMS will then implement the security system and enforce the required restrictions.

  • 9

    This represents people or programs performing actions on objects in the database. The DBMS grants users an ID for authentication and privileges to perform specific actions on specific tables/rows.

    Users

  • 10

    These are the things defined by SQL standards in the database that users can manipulate. This includes rows, columns, tables, indexes, and views.

    Objects

  • 11

    This refers to the rights of users to manipulate objects. These privileges start with SELECT, INSERT, DELETE, and UPDATE, ALTER, INDEX, AND REFERENCES for database objects.

    Privileges

  • 12

    it is a named collection of database access privileges that authorize a user to connect to the database and use its system resources.

    Roles

  • 13

    Which statement best describes Authentication and Authorization?

    It is where setting up security begins with

  • 14

    Which statement best describes "Server-Level"?

    It includes logins and server roles.

  • 15

    Which statement best describes "Database-Level"?

    It include users and database roles.

  • 16

    Which statement best describes "Login"?

    It allows you to connect to the SQL Server service (also called an instance), and permissions inside the database are granted to the database users

  • 17

    What is the correct syntax to create a new login in T-SQL?

    CREATE LOGIN login_name_test WITH PASSWORD = 'Mypassword';

  • 18

    What is the correct Syntax for changing the login name?

    ALTER LOGIN login_name_test WITH NAME = newlogin_name;

  • 19

    What is the correct syntax to change the User's password in T-SQL?

    ALTER LOGIN newlogin_name WITH PASSWORD = 'Newpassword';

  • 20

    is a command used to provide access or privileges on the database objects to the users.

    GRANT

  • 21

    It is a command used to remove privileges from a specific user or role or from all users to perform actions on database objects

    REVOKE

  • 22

    The user named user1 that we have created before does not have any access to myDB. Using the GRANT command, we want user1 to be able to view and modify the data in the myDB database. What is the correct syntax?

    GRANT SELECT, UPDATE ON [Names] TO user1

  • 23

    We want to remove the modifying privilege of user1. What is the correct syntax?

    REVOKE UPDATE ON [Names] TO user1

  • 24

    these are roles that are predefined in the database

    fixed-database roles

  • 25

    these roles that you can create on your own based on your preferences.

    user-defined database roles

  • 26

    Members of the this role can perform all configuration and maintenance activities on the database and can also drop the database in SQL Server.

    db_owner

  • 27

    Members of this role can modify role membership for custom roles only and manage permissions. Members of this role can potentially elevate their privileges.

    db_securityadmin

  • 28

    Members of this role can add or remove access to the database for Windows logins, Windows groups, and SQL Server logins.

    db_accessadmin

  • 29

    Members of this role can back up the database.

    db_backupoperator

  • 30

    Members of this role can run any Data Definition Language (DDL) command in a database.

    db_ddladmin

  • 31

    Members of this role can add, delete, or change data in all user tables

    db_datawriter

  • 32

    Members of this role can read all data from all user tables.

    db_datareader

  • 33

    Members of this role cannot add, modify, or delete any data in the user tables within a database.

    db_denydatawriter

  • 34

    Members of this role cannot read any data in the user tables within a database.

    db_denydatareader

  • 35

    We can assign a db_owner role to the user1. what is the correct syntax?

    ALTER ROLE db_owner ADD MEMBER user1

  • 36

    We can also create a user-defined database role having the privilege of viewing and updating the data in table "Names". What's the correct syntax?

    CREATE ROLE [Admin1] GO GRANT SELECT, UPDATE ON [Names] TO [Admin1] GO

  • 37

    It is a copy of data from your database that can be used to reconstruct that data. These can be divided into physical backups and logical backups.

    Backup

  • 38

    These are backups of the physical files used in storing and recovering your database, such as data files, control files, and archived redo logs. Every physical backup is a copy of files storing database information to some other location, whether on disk or some offline storage such as tape.

    Physical backups

  • 39

    It contain logical data (for example, tables or stored procedures) exported from a database management system (DBMS) and stored in a binary file for later re-importing into a database using the corresponding DBMS restore/import utility.

    Logical backups

  • 40

    It is to keep track of all transactions that update the database. The information stored in this log is used by the DBMS for a recovery requirement triggered by a ROLLBACK statement. Some DBMS uses the transaction log to recover a database forward to a currently consistent state.

    Transaction log

  • 41

    It is a mechanism where all the previous logs are removed from the system and stored permanently in a storage disk. Checkpoint declares a point before which the DBMS was in a consistent state, and all the transactions were committed.

    Checkpoint

  • 42

    Which statement best describes Proper backup identification?

    Backups must be clearly identified through detailed descriptions and date information, thus enabling the DBA to ensure that the correct backups are used to recover the database. Nowadays, the most common backup mediums are disk-based backup devices and cloud-based data storage.

  • 43

    Which statement best describes Convenient and safe backup storage?

    Multiple backups of the same data are required, and each backup copy must be stored in a different location. The storage locations must include sites inside and outside the organization.

  • 44

    Which statement best describes Physical protection of both hardware and software?

    Protection might include the use of closed installations with restricted access, as well as preparation of the computer sites to provide air conditioning, backup power, and fire protection.

  • 45

    Which statement is NOT TRUE about Hardware/software failures?

    is caused by a careless end-user. Such errors include deleting the wrong rows from a table, pressing the wrong key on the keyboard, or shutting down the main database server by accident.

  • 46

    It is caused by a careless end-user. Such errors include deleting the wrong rows from a table, pressing the wrong key on the keyboard, or shutting down the main database server by accident.

    unintentional failure

  • 47

    These are of a more severe nature and normally indicate that the company data is at serious risk. Under this category are security threats caused by hackers trying to gain unauthorized access to data resources and virus attacks caused by disgruntled employees trying to compromise the database operation and damage the company.

    Intentional events

  • 48

    Which statement is NOT TRUE about Big Data?

    This refers to the rate at which new data enters the system as well as the rate at which the data must be processed.

  • 49

    is used to label large volumes of data that push the limits of conventional software. This data is usually unstructured or semi-structured and may originate from a wide variety of sources

    Big Data

  • 50

    the quantity of data to be stored, is a key characteristic of big data. The storage capacities associated with big data are extremely large.

    Volume

  • 51

    It is another key characteristic of big data. This refers to the rate at which new data enters the system as well as the rate at which the data must be processed.

    Velocity

  • 52

    In a big data context, it refers to the vast array of formats and structures in which the data may be captured

    Variety

  • 53

    A new generation of database management systems that is not based on the traditional relational database model (SQL)

    NoSQL DBMS

  • 54

    Which statement is NOT TRUE about NoSQL DBMS?

    These are based on graph theory and represent data through nodes, edges, and properties

  • 55

    What NoSQL Data Model is being described? It is the simplest of the NoSQL data models. It stores data as a collection of key-value pairs. Greatly simplifies the work that the DBMS must perform, making These databases extremely fast and scalable for basic processing.

    Key-value (KV) database

  • 56

    Which statement is NOT TRUE about Column-oriented databases

    These are based on graph theory and represent data through nodes, edges, and properties.

  • 57

    Which statement is NOT TRUE about Graph databases?

    These databases are conceptually similar to key-value databases, and they can almost be considered a subtype of KV databases.

  • 58

    Which statement is NOT TRUE about Document-Oriented databases

    All columns in one row are rarely needed at once, but there are groups of columns that are often read together.

  • 59

    Which statement is FALSE about MongoDB?

    It is based on graph theory and represent data through nodes, edges, and properties.

  • 60

    MongoDB groups collections into these. A single instance of MongoDB can host several of these, each of which can be thought of as completely independent.

    Database

  • 61

    It can be thought of as a table with a dynamic schema.

    Collections

  • 62

    It is the basic unit of data for MongoDB, roughly equivalent to a row in a relational database management system (but much more expressive).

    Document

  • 63

    In MongoDB, you don't need to create a database manually because MongoDB will create it automatically, what is the correct syntax that will automatically create a new database

    use FirstMongoDB

  • 64

    To check the currently selected database in MongoDB, What command is used?

    db

  • 65

    To query the database list in mongoDB, what command is used?

    show dbs

  • 66

    What is the correct syntax to create a document inside the FirstMongoDB database?

    db.student.insertMany([ {name: "John Smith"}, {name: "John Cedrick"} ])

  • 67

    To query the newly created documents in mongoDB, what is the correct syntax?

    db.student.find()

  • 68

    to query the database collection lists in mongoDB, what is the correct syntax?

    show collections

  • 69

    To manually create a collection in mongoDB, what is the correct syntax?

    db.createCollection("Teacher")

  • 70

    To remove or drop a document in mongoDB, what is the correct syntax?

    db.student.remove({name: "John Cedrick"})

  • 71

    To remove or drop a collection in the database, what is the correct syntax?

    db.student.drop()

  • 72

    To delete the currently selected database in mongoDB, what is the correct syntax?

    db.dropDatabase()