QCM JAVASCRIPT - MongoDB (Partie 4)
Quiz interactif avec 11 questions. Testez vos connaissances!
Comment jouer ?
- 1. Lisez chaque question attentivement
- 2. Choisissez votre réponse parmi les options
- 3. Cliquez sur "Voir la réponse" pour vérifier
- 4. Comptez vos bonnes réponses à la fin !
Quiz: QCM JAVASCRIPT - MongoDB (Partie 4)
11 questions | Difficulté: moyen
Question 1
What is the purpose of using a Client Certificate in this scenario?
- A. A) To verify the document structure
- B. B) To encrypt data at rest
- C. C) To authenticate the client
- D. D) To authorize the user
Voir la réponse
Réponse correcte: C
The Client Certificate is used to authenticate the client when connecting to the MongoDB ReplicaSet.
Question 2
What does ‘subjectAltName’ do in the OpenSSL configuration?
- A. A) It defines the document structure
- B. B) It sets the serial number for the certificate
- C. C) It specifies the DNS names associated with the certificate
- D. D) It defines the encryption algorithm
Voir la réponse
Réponse correcte: D
‘subjectAltName’ is used to specify the DNS names associated with the certificate.
Question 3
What does ‘MONGODB-CR’ stand for in the context of MongoDB authentication mechanisms?
- A. A) Mongolia Database Challenge and Response
- B. B) MongoDB Object Notation DataBase Command and Response
- C. C) MongoDB Challenge and Response
- D. D) Mongolia Database Certificate and Response
Voir la réponse
Réponse correcte: C
‘MONGODB-CR’ stands for ‘MongoDB Challenge and Response’.
Question 4
What does the term ‘Role base access control’ refer to in MongoDB?
- A. A) A method of encrypting data at rest
- B. B) A type of authentication mechanism
- C. C) A way to verify document structure
- D. D) A role-based access control model
Voir la réponse
Réponse correcte: D
Role base access control is a role-based access control model in MongoDB.
Question 5
What are ‘Actions’ in the context of Role base access control?
- A. A) Resources that hold state in a database
- B. B) Groups of privileges
- C. C) DNS names associated with a certificate
- D. D) Encryption algorithms
Voir la réponse
Réponse correcte: B
Actions are resources that can be performed in the context of Role base access control.
Question 6
What does ‘resources’ refer to in the MongoDB Authorization Model?
- A. A) Groups of privileges
- B. B) Actions over resources
- C. C) DNS names associated with a certificate
- D. D) Objects that hold state in a database
Voir la réponse
Réponse correcte: D
Resources are objects that hold state in a MongoDB database.
Question 7
What is the purpose of the ‘read’ role in the built-in roles in MongoDB?
- A. A) To encrypt data at rest
- B. B) To authenticate the client
- C. C) To authorize the user for read operations
- D. D) To manage databases
Voir la réponse
Réponse correcte: D
The ‘read’ role is used to authorize users for read operations in MongoDB.
Question 8
What does ‘authorization models’ refer to in the context of MongoDB?
- A. A) A method of encrypting data at rest
- B. B) A type of authentication mechanism
- C. C) Ways to verify document structure
- D. D) Systems that control user privileges
Voir la réponse
Réponse correcte: D
Authorization models are systems that control user privileges in the context of MongoDB.
Question 9
What is the purpose of the ‘administration roles’ in MongoDB?
- A. A) To encrypt data at rest
- B. B) To authenticate the client
- C. C) To authorize the user for administrative tasks
- D. D) To manage databases
Voir la réponse
Réponse correcte: D
The administration roles are used to authorize users for administrative tasks in MongoDB.
Question 10
What does ‘SCRAM-SHA-1’ refer to in the context of MongoDB authentication mechanisms?
- A. A) SQL Connector for Remote Access Management - Secure Hash Algorithm 1
- B. B) Simple Cryptographic Authentication Mechanism - Secure Hash Algorithm 1
- C. C) Security Control and Regulatory Act for MongoDB - Secure Hash Algorithm 1
- D. D) Server-side Certificate Revocation List - Secure Hash Algorithm 1
Voir la réponse
Réponse correcte: C
‘SCRAM-SHA-1’ stands for ‘Simple Cryptographic Authentication Mechanism - Secure Hash Algorithm 1’.
Question 11
What does ‘X.509’ refer to in the context of MongoDB authentication mechanisms?
- A. A) XML Document for Public Key Infrastructure Certificate
- B. B) Extensible Markup Language Document for MongoDB Authentication
- C. C) Xenon-509 Authentication Mechanism
- D. D) eXtended Format for International Telecommunication Union - 509
Voir la réponse
Réponse correcte: B
‘X.509’ refers to an XML document used for Public Key Infrastructure (PKI) certificate.