Explore key concepts of CouchDB administration using Fauxton, the built-in interface, including database management, user permissions, replication, and basic configuration. This quiz helps users reinforce their foundational knowledge of administrative tasks in a NoSQL environment with clear, practical scenarios.
Which section in Fauxton allows you to create a new database and assign it a name, such as 'inventory'?
Explanation: The 'Databases' section in Fauxton provides the option to create new databases and assign them unique names. The 'Dashboard' usually offers an overview and does not contain database creation tools. The 'Documents' section manages documents within an existing database, while 'Configurations' relates to server settings. Only 'Databases' matches the required action in this context.
If you want to examine all documents stored inside an existing database in Fauxton, which section should you navigate to after selecting your database?
Explanation: After selecting a database, the 'Documents' section allows you to view and manage all documents within that database. 'Indexes' is for managing query views and searching features, not raw documents. 'Settings' contains configuration options for the database itself, and 'Replication' is for synchronizing data, not viewing stored documents.
Which Fauxton feature enables you to safely remove an entire database and all its documents when it is no longer needed?
Explanation: 'Delete Database' is the option that safely removes a database and its contents. 'Purge' is not typically used for database removal; it is more relevant for permanently removing document revisions. 'Compact' deals with storage optimization, not deletion. 'Restore' is for recovering lost or backup data, not for database removal.
To change a server parameter such as the maximum number of allowed connections through Fauxton, which section should you use?
Explanation: The 'Configuration' section in Fauxton is where administrative users can modify server parameters like connection limits. 'Documents' deals only with data records, not server settings. 'Replication' manages data syncing, and 'Indexes' are for searching and querying, not for configuring server behavior.
Which Fauxton tool would you use to set up continuous replication between a local and a remote database?
Explanation: The 'Replication' tool in Fauxton allows you to configure and manage data syncing between databases, including continuous replication. 'Views' refers to querying mechanisms, 'Permissions' handles user access, and 'Logs' displays recent activity or errors. Only 'Replication' fits the described scenario.
If you want to add a new administrator user account to your CouchDB instance using Fauxton, which section should you access?
Explanation: The 'Users' section allows you to administer user accounts, including adding or editing administrator users. 'Indexes' relates to the creation of query indexes, 'Replicator' is the service facilitating replication, and 'Design Docs' are for defining views and functions linked to documents, not access management.
What does Fauxton display as a unique identifier each time you update a document, to help track changes and resolve conflicts?
Explanation: Each document revision is marked by a unique 'Revision ID' to track updates and manage conflicts. 'Document Tag' is not an official identifier in this context, 'User Token' is related to authentication, and 'Session ID' identifies user sessions rather than document versions.
Which Fauxton section do you use to control who can read or write to a specific database?
Explanation: The 'Permissions' feature in Fauxton lets you assign read and write access to specified users or groups for a given database. 'Indexes' is unrelated to access rights and deals with queries, 'Replication' synchronizes databases, and 'Dashboard' only displays general status information.
Why would you run the Compaction tool on a database in Fauxton?
Explanation: Database compaction reduces storage used by removing old, unnecessary document revisions. It does not permanently delete all documents; that would be a deletion operation. Creating backups and managing user limits are separate functions unrelated to compaction. The main goal is optimizing storage.
Which action can you perform to change the initial page you see after logging in to Fauxton?
Explanation: Adjusting the default route in settings will change which page appears first after login. Purging the cache relates to browser data and not interface configuration. Updating the Admin password changes security credentials but not navigation settings. Creating replication sets up syncing but doesn't influence the landing page.