logo
  • Home
  • About
  • Training
  • Programming
  • CS
  • IT
  • IS
  • ECE
  • EEE
  • EE
  • Civil
  • Mechanical
  • Chemical
  • Metallurgy
  • Instrumentation
  • Aeronautical
  • Aerospace
  • Biotechnology
  • Agriculture
  • MCA
  • BCA
  • Internship
  • Contact

MongoDB Multiple Choice Questions | MCQs | Quiz

MongoDB Interview Questions and Answers
Pratice MongoDB questions and answers for interviews, campus placements, online tests, aptitude tests, quizzes and competitive exams.

Get Started

•   MongoDB Basics
•   Big Data & MongoDB
•   NoSQL Databases
•   MongoDB Installation - 1
•   MongoDB Installation - 2
•   MongoDB Enterprise - 1
•   MongoDB Enterprise - 2
•   MongoDB Packages
•   MongoDB Getting Started-1
•   MongoDB Getting Started-2
•   Test Data Generation
•   CRUD Concepts
•   Read Operations - 1
•   Read Operations - 2
•   Write Operations - 1
•   Write Operations - 2
•   Analyze Query Performance
•   Data Modeling Basics
•   Data Modeling Concepts - 1
•   Data Modeling Concepts - 2
•   Data Model Patterns
•   Model Tree Structures
•   Model Data Operations
•   Model Monetary & Time
•   GridFS
•   BSON
•   ObjectId
•   MongoDB Documents - 1
•   MongoDB Documents - 2
•   MongoDB Administration
•   Operational Strategies
•   MongoDB Backup
•   MongoDB Monitoring
•   Database Configuration
•   MongoDB Maintenance
•   MongoDB Production
•   Data Management
•   Operational Segregation
•   Capped Collections
•   Data Collections
•   Optimization Strategies - 1
•   Optimization Strategies - 2
•   Optimization Strategies - 3
•   System Collections
•   Database Profiler
•   Exit Codes & Statuses
•   Authentication
•   Authorization
•   Collection Access Control
•   Network Security
•   MongoDB API Interfaces
•   Auditing
•   Kerberos Authentication
•   Security Checklist
•   Access Control
•   User & Role Management
•   Aggregation
•   Aggregation Pipeline
•   Map-Reduce
•   Aggregation Operations
•   Aggregation Mechanics
•   Pipeline Optimization
•   Pipeline Limits
•   Pipeline & Sharded
•   Map-Reduce & Sharded
•   Pipeline Operators - 1
•   Pipeline Operators - 2
•   SQL - Aggregation Mapping
•   Aggregation Commands
•   MongoDB Indexes
•   Index Types - 1
•   Index Types - 2
•   Index Types - 3
•   Index Properties
•   Index Management
•   Geospatial Index
•   Text Search
•   Indexing Strategies
•   Indexing Methods
•   MongoDB Replication
•   Replica Set Members
•   Replica Architectures
•   Replica Set High Availability
•   Read & Write Semantics
•   Master Slave Replication
•   Replication Processes - 1
•   Replication Processes - 2
•   Replication Maintenance
•   Troubleshooting
•   Member Configuration
•   Sharding Introduction
•   Sharding Concepts
•   Cluster Architectures
•   Sharded Cluster Behavior
•   Sharding Mechanics
•   Cluster Deployment
•   ↓ Sharded Cluster ↓
•   Maintenance
•   Troubleshooting
•   Data Management - 1
•   Data Management - 2

Best Reference Books

MongoDB Books
« Prev Page
Next Page »

MongoDB Questions and Answers – Kerberos Authentication

Posted on March 8, 2015 by Manish

This set of MongoDB Multiple Choice Questions & Answers (MCQs) focuses on “Kerberos Authentication”.

1. For each _______ the Kerberos Key Distribution Center (KDC) maintains a database of the realm’s principal and the principals’ associated “secret keys”.
a) key
b) realm
c) document
d) none of the mentioned
View Answer

Answer: b
Explanation: Principals belong to administrative units called realms.

2. Point out the correct statement :
a) MongoDB Enterprise provides support for Kerberos authentication of MongoDB clients to mongod and mongos
b) Kerberos is an industry standard authentication protocol for large client/server systems
c) Kerberos allows MongoDB and applications to take advantage of existing authentication infrastructure and processes
d) All of the mentioned
View Answer

Answer: d
Explanation: In a Kerberos-based system, every participant in the authenticated communication is known as a “principal”, and every principal must have a unique name.

3. For a client-server authentication, the client requests from the KDC a ________ for access to a specific asset.
a) ticket
b) local
c) token
d) user
View Answer

Answer: a
Explanation: KDC uses the client’s secret and the server’s secret to construct the ticket which allows the client and server to mutually authenticate each other, while keeping the secrets hidden.

4. To authenticate using Kerberos, you must add the Kerberos user principals to MongoDB to the _________ database.
a) $internal
b) $external
c) $extern
d) None of the mentioned
View Answer

Answer: b
Explanation: For every user you want to authenticate using Kerberos, you must create a corresponding user in MongoDB in the $external database.

5. Point out the wrong statement :
a) Authorization determines the verified user’s access to resources and operations
b) MongoDB does not support authentication mechanisms
c) To authenticate a client in MongoDB, you must add a corresponding user to MongoDB
d) None of the mentioned
View Answer

Answer: b
Explanation: In addition to verifying the identity of a client, MongoDB can require members of replica sets and sharded clusters to authenticate their membership.

6. To specify a different value for , use ________ during the start up of mongod.
a) servicepwd
b) serviceName
c) servicelogin
d) none of the mentioned
View Answer

Answer: b
Explanation: mongo shell or other clients may also specify a different service principal name using serviceName.

7. Linux systems can store Kerberos authentication keys for a service principal in ______ files.
a) Client
b) Server
c) keytab
d) All of the mentioned
View Answer

Answer: c
Explanation: To keep keytab files secure, use file permissions that restrict access to only the user that runs the mongod or mongos process.

8. MongoDB __________ supports authentication using a Kerberos service.
a) Standard
b) Express
c) Enterprise
d) None of the mentioned
View Answer

Answer: c
Explanation: Kerberos is an industry standard authentication protocol for large client/server systems.

9. On Linux, MongoDB clients can use Kerberos’s _______ program to initialize a credential cache for authenticating the user principal to servers.
a) knight
b) kinit
c) Knite
d) None of the mentioned
View Answer

Answer: b
Explanation: Unlike on Linux systems, mongod and mongos instances running on Windows do not require access to keytab files.

10. The MongoDB _________ Console interface does not support Kerberos authentication.
a) TCP
b) HTTP
c) HTTPS
d) None of the mentioned
View Answer

Answer: b
Explanation: Each host that runs a mongod or mongos instance must have both A and PTR DNS records to provide forward and reverse lookup.

Sanfoundry Global Education & Learning Series – MongoDB.

Here’s the list of Best Reference Books in MongoDB.

To practice all areas of MongoDB, Here is complete set of 1000+ Multiple Choice Questions and Answers.
« Prev Page - MongoDB Questions and Answers – Auditing
» Next Page - MongoDB Questions and Answers – Security Checklist
« MongoDB Questions and Answers – Auditing
MongoDB Questions and Answers – Security Checklist »

Deep Dive @ Sanfoundry:

  1. Javascript Questions and Answers
  2. Spring Questions and Answers
  3. Software Engineering Questions & Answers
  4. Operating System Questions and Answers
  5. SQL Server Questions and Answers
  6. MongoDB Questions and Answers
  7. C# Programming Examples on Networking
  8. MongoDB Questions and Answers – MongoDB Packages
  9. SQL Server Questions and Answers – Authentication
  10. MongoDB Questions and Answers – MongoDB Enterprise-2
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer and SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage & Cluster Administration, Advanced C Programming, SAN Storage Technologies, SCSI Internals and Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him below:
LinkedIn | Facebook | Twitter | Google+

Best Careers

Developer Tracks
SAN Developer
Linux Kernel Developer
Linux Driver Developer
Linux Network Developer

Live Training Photos
Mentoring
Software Productivity
GDB Assignment
Sanfoundry is No. 1 choice for Deep Hands-ON Trainings in SAN, Linux & C, Kernel Programming. Our Founder has trained employees of almost all Top Companies in India such as VMware, Citrix, Oracle, Motorola, Ericsson, Aricent, HP, Intuit, Microsoft, Cisco, SAP Labs, Siemens, Symantec, Redhat, Chelsio, Cavium, ST-Micro, Samsung, LG-Soft, Wipro, TCS, HCL, IBM, Accenture, HSBC, Mphasis, Tata-Elxsi, Tata VSNL, Mindtree, Cognizant and Startups.

Best Trainings

SAN I - Technology
SAN II - Admin
Linux Fundamentals
Advanced C Training
Linux-C Debugging
System Programming
Network Programming
Linux Threads
Kernel Programming
Kernel Debugging
Linux Device Drivers

Best Reference Books

Computer Science Books
Algorithm & Programming Books
Electronics Engineering Books
Electrical Engineering Books
Chemical Engineering Books
Civil Engineering Books
Mechanical Engineering Books
Industrial Engineering Books
Instrumentation Engg Books
Metallurgical Engineering Books
All Stream Best Books

Questions and Answers

1000 C Questions & Answers
1000 C++ Questions & Answers
1000 C# Questions & Answers
1000 Java Questions & Answers
1000 Linux Questions & Answers
1000 Python Questions
1000 PHP Questions & Answers
1000 Hadoop Questions
Cloud Computing Questions
Computer Science Questions
All Stream Questions & Answers

India Internships

Computer Science Internships
Instrumentation Internships
Electronics Internships
Electrical Internships
Mechanical Internships
Industrial Internships
Systems Internships
Chemical Internships
Civil Internships
IT Internships
All Stream Internships

About Sanfoundry

About Us
Copyright
TOS & Privacy
Jobs
Bangalore Training
Online Training
SAN Training
Developers Track
Mentoring Sessions
Contact Us
Sitemap
© 2011 Sanfoundry