Nutanix certification · Exam NCP-DB

NCP-DB Mock Exam Page 3

Nutanix Certified Professional - Database Automation (NCP-DB) v6.5

Free NCP-DB mock exam questions 21–30, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Free NCP-DB questions

21–30 of 43 free
Question 21 Choose 1
What does an NDB compute profile contain?
Show answerHide answer

Correct answer: A vCPUs, cores per vCPU, and the amount of memory for the database server VM.

Explanation

Explanation:
An NDB compute profile defines the CPU and memory resources for the database server VMs that are provisioned using NDB. It does not include any information about the network, domain, or software of the database server VMs. Those are specified in separate profiles, such as network profile, domain profile, and software profile.
Question 22 Choose 1
An administrator needs the ability to clone a source database to a point in time. What is the lowest log frequency in minutes that can be configured in the Era IJI for log catchup operation?
Show answerHide answer

Correct answer: C 5

Explanation

Explanation:
The log frequency in the Era IJI for log catchup operation can be configured to as low as 5 minutes. This allows the system to capture changes to the database at a high frequency, enabling more precise point-in-time recovery options. However, it’s important to note that a higher frequency of log catchup operations can lead to increased system load. Therefore, the optimal frequency may vary depending on the specific requirements and capabilities of your system12. Please refer to the Nutanix Database Automation (NCP-DB) Learning documents for more detailed information.
Question 23 Choose 1
An administrator has a production PostgreSQL database cloned for development and testing purpose. A new table is added to the source database.
What should the administrator do to publish the update leveraging the point in Time Era capability?
(C) 1. PeHorm a Log Catch-up using source database Time Mechine 2. Refresh the clone database
(C) l. Perform a Log Catch-up using source database Time Mechine 2. Refresh the source database
(C) l. update Log Catch-up interval from Tme Machine 2. Refresh the source database
C) 1. Update Log Catch-up interval from Tame Machine 2. Refresh the clone database
How is the size of a database time machine defined?
Show answerHide answer

Correct answer: B The size of all snapshots and/or transaction logs maintained by Era

Explanation

Explanation:
The Nutanix Era platform provides a feature called Time Machine, which is designed to manage the lifecycle of database copies and clones1. When a new table is added to the source database, the administrator should perform a Log Catch-up using the source database’s Time Machine. This action ensures that the Time Machine captures the latest state of the source database, including the newly added table1. After performing the Log Catch-up, the administrator should refresh the clone database. The refresh operation updates the clone with the latest state captured by the Time Machine, thereby publishing the new table to the clone1.
Question 24 Choose 1
A request is received to refresh a database clone from a new manual snapshot. When the administrator attempts to create the new snapshot from the Time Machine, it is in a Frozen state. What causes a Time Machine to enter the Frozen state and what are the administrator's options to complete the request?
Show answerHide answer

Correct answer: C Cause: The Time Machine enters a Frozen state when the database is de-registered without removing the Time Machine.
Resolution: To complete the request the database must be re-registered in NDB, this thaws the Time Machine and it resumes operation so the clone can be refreshed.

Explanation

Explanation:
A Time Machine is a core construct of the copy data management service in NDB that captures and manages the data of a database to deliver a recovery point objective (RPO) SLA. A Time Machine can enter a Frozen state for various reasons, such as database de-registration, snapshot or log catchup failures, or manual intervention. When a Time Machine is in a Frozen state, it stops taking new snapshots and log backups, and cannot perform any clone, refresh, or restore operations. To resume the normal operation of a Time Machine, it must be thawed by resolving the root cause of the freeze. One of the common causes of a Time Machine freeze is when the database is de-registered from NDB without removing the Time Machine. This can happen when the administrator wants to move the database to a different NDB instance or cluster, or when the database is accidentally de-registered. In this case, the Time Machine becomes orphaned and frozen, and cannot be used for any operations. To complete the request to refresh a database clone from a new manual snapshot, the administrator must first re-register the database in NDB using the same database name and ID as before. This will automatically thaw the Time Machine and resume its operation. The administrator can then create a new manual snapshot from the Time Machine and use it to refresh the database clone. The other options are not correct, as they either require unnecessary steps or do not address the root cause of the freeze.
Question 25 Choose 1
When provisioning an PostgreSQL HA Instance, what are the minimum and maximum number of DB server VMs that can be deployed in a cluster?
Show answerHide answer

Correct answer: B Min 2, Max 4

Explanation

Explanation:
When provisioning a PostgreSQL HA Instance using NDB, the minimum and maximum number of DB server VMs that can be deployed in a cluster are 2 and 4, respectively. A PostgreSQL HA Instance is a database instance that provides high availability and fault tolerance for PostgreSQL databases using the Patroni framework. Patroni is a Python-based tool that manages PostgreSQL configuration and performs automatic failover and switchover operations. Patroni relies on a distributed consensus store, such as etcd, Consul, or ZooKeeper, to store and synchronize the cluster state and leader information. NDB supports etcd as the consensus store for PostgreSQL HA Instances. NDB allows the administrator to provision PostgreSQL HA Instances with different sizes and configurations, such as small, medium, large, or custom. The size of the PostgreSQL HA Instance determines the number of DB server VMs, the number of etcd nodes, the CPU, memory, and disk resources, and the replication factor of the database. The minimum number of DB server VMs for a PostgreSQL HA Instance is 2, which corresponds to a small size instance. This configuration provides one leader and one follower DB server VM, and one etcd node. The maximum number of DB server VMs for a PostgreSQL HA Instance is 4, which corresponds to a large size instance. This configuration provides one leader and three follower DB server VMs, and three etcd nodes. The other options are not valid for a PostgreSQL HA Instance, as they either do not provide enough redundancy or exceed the supported limit of DB server VMs.
Question 26 Choose 1
When performing a SQL Server Restore Source Database operation, what is a valid reason an administrator would choose the Restore Location as New Location?
Show answerHide answer

Correct answer: B The administrator wants to restore to a new location and have Era apply Nutanix best practices.

Explanation

Explanation:
When performing a SQL Server Restore Source Database operation in Nutanix Database Automation (NCPDB), an administrator might choose the Restore Location as New Location if they want to restore to a new location and have Era apply Nutanix best practices1. This is because Nutanix Era automates and simplifies database management, allowing the administrator to manage databases at scale, and it applies Nutanix best practices during the restore process1. This ensures optimal performance and reliability of the restored database1.
Question 27 Choose 1
Which action should be completed before updating Oracle Database software?
Show answerHide answer

Correct answer: D Download the PSU from Oracle support.

Explanation

Explanation:
Before updating Oracle Database software, you need to download the Patch Set Update (PSU) from Oracle support. A PSU is a collection of critical and security patches for Oracle products. You need to have a valid Oracle account and access to the My Oracle Support portal to download the PSU. You also need to check the compatibility and prerequisites of the PSU before applying it to your Oracle Database software. NDB uses outof- place patching for Oracle, which means you need to create a new software profile version with the patched Oracle software and use it to update your existing databases.
Question 28 Choose 1
An administrator created a database clone that is scheduled for removal on the last day of the month. A request has been received to keep the clone for an additional 14 days. After selecting the desired clone, how should the administrator satisfy this task?
Show answerHide answer

Correct answer: D Select Update and modify the Removal schedule.

Explanation

Explanation:
The Removal schedule is a feature of Nutanix Era that allows you to specify when a database clone will be automatically deleted. You can modify the Removal schedule of an existing clone by selecting the clone from the Clones page, clicking on the Update button, and changing the Removal schedule option to the desired date. This way, you can extend or shorten the lifespan of a clone as per your requirements. You do not need to remove the existing Removal schedule and add a new one, as this would be an unnecessary step. You also do not need to update the Removal schedule to the end of the month, as this would not meet the request of keeping the clone for an additional 14 days.
Question 29 Choose 1
Which default roles are available within Era for Role-Based Access Control?
Show answerHide answer

Correct answer: A prism Admin
• Era Super Admin
• Era Database Admin
Era Infrastructure Admin

Explanation

Explanation:
Nutanix Era offers Role-Based Access Control capabilities by organically embedding them in the product. It provides the ability to add and remove users from Era, create and assign roles to users, and associate various privileges with a role1. The default roles available within Era for Role-Based Access Control are:
  • prism Admin
  • Era Super Admin
  • Era Database Admin
Era Infrastructure Admin1 These roles allow for the management of both physical resources like IP addresses and VLANs along with database entities like databases, time-machines, clones, and so on1.
Question 30 Choose 1
How can an administrator exclude Kernel patches for the Linux OS using the most efficient means?
Show answerHide answer

Correct answer: B Exclude the appropriate repositories on the VM prior to patching.

Explanation

Explanation:
NDB supports Linux OS patching for database server VMs. Linux OS patching is performed by using the yum or apt package managers, depending on the Linux distribution. To exclude Kernel patches for the Linux OS, the administrator can disable or exclude the appropriate repositories on the VM prior to patching. This can be done by editing the yum.conf or apt.conf files, or by using the --disablerepo or --exclude options in the yum or apt commands. This way, the administrator can control which patches are applied to the VM without affecting other VMs or requiring additional scripts or reboots.
Full mock exam

Sit the NCP-DB exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real NCP-DB exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full NCP-DB mock exam
  • 65questions per mock
  • 105 mintime limit
  • 146questions in the bank
  • Newmock on every attempt