NCP-DB Practice Test Questions

146 Questions


How is a software profile created?


A. In the Ere IJI select Profiles Software, and then a template VM.


B. In the Ere IJI select Profiles Software, and then a database engine, OS version, and database version,


C. Create a software profile from a registered Database Server VM.


D. Clone e software profile provided by Era and modify as needed.





B.
  In the Ere IJI select Profiles Software, and then a database engine, OS version, and database version,

Explanation:
Nutanix Database Automation (NCP-DB) simplifies database provisioning using predefined profiles customized to your environment. Software profiles, which are templates of the OS and database engine, allow you to maintain consistent software versions1. You then use additional profiles to customize that deployment1.

An administrator is trying to register a Nutanix cluster for Multi-Cluster provisioning.
The Era cluster is setup with following configuration:

  • Era Multi-Cluster is enabled.
Era Server storage container and Era provisioning container are different on the Era cluster.
What should the administrator configure?


A. Storage mapping between Era server container end remote container thet is used for provisioning DBs,


B. Disks that span across Era Server storage container and Era provisioning container.


C. Storage mapping between Era container and a remote container that is not used for provisioning databases.


D. Separate remote containers for provisioning Era Agent VM end database Server VMs.





A.
  Storage mapping between Era server container end remote container thet is used for provisioning DBs,

Explanation:
In a Nutanix Era setup where Multi-Cluster is enabled and the Era Server storage container and Era provisioning container are different on the Era cluster, the administrator should configure a storage mapping between the Era server container and the remote container that is used for provisioning databases1. This is because Nutanix Era uses the storage container specified during the registration of the Nutanix cluster for provisioning databases1. Therefore, a storage mapping needs to be established between the Era server container and the remote container used for provisioning to ensure that the databases are provisioned correctly1.

A development team has requested that an administrator provide them a copy of the production Finance database. The business requires that any financial data is masked before going into development. How should the administrator create a clone with masked data for the development environment?


A. From the Time Machine, create a clone and paste the masking commands in the post-clone field of the Pre-Post Commands section.


B. 1. Create a masking script on the source DB VM, Dev VM or SW Profile VM.
2. Create the clone from the Time Machine and define the post-clone option with the full path\name of the masking script.


C. 1. Create a script to mask the data.
2. Create the clone from the Time Machine and define the post-clone option with the full path\name of the masking script.


D. From the Time Machine, create a clone and paste the masking commands in the pre-clone field of the Pre-Post Commands section.





B.
  1. Create a masking script on the source DB VM, Dev VM or SW Profile VM.
2. Create the clone from the Time Machine and define the post-clone option with the full path\name of the masking script.

Explanation:
According to the Nutanix Database Automation (NCP-DB) course, the Pre-Post Commands section allows the administrator to specify custom scripts that can be executed before or after the clone operation1. The masking script can be created on any of the VMs that have access to the source database, such as the source DB VM, the Dev VM, or the SW Profile VM2. The script should contain the commands to mask the sensitive data in the Finance database, such as replacing the real values with dummy values or encrypting the data2. The administrator can then create the clone from the Time Machine and define the post-clone option with the full path and name of the masking script1. This will ensure that the script is executed after the clone is created, and the data is masked before it is available for the development team1. The other options are not correct, as they either use the wrong field (pre-clone instead of post-clone), or do not specify where to create or store the masking script.

What is the most efficient way to get information on REST APIs for a task in Era?


A. Log into Ere VM end run to list ell the REST APIs.


B. Navigate to Swagger REST in Era GI-II.


C. Navigate to and look for the desired


D. use API equivalent button in a workflow.





D.
  use API equivalent button in a workflow.

Explanation:
This is because it allows the database to be refreshed at the exact time specified (9:30 PM) with the most recent data. The other options either perform the snapshot before the desired time or do not specify when the snapshot would occur. Please note that the exact answer might depend on the specific database system and its capabilities. Always refer to the database’s documentation for the most accurate information.

Which policies define Time Machine data availability across multiple registered clusters in NDB?


A. Recovery Plans


B. Data Access Management


C. Data Protection


D. Service Level Agreements





A.
  Recovery Plans

Explanation:
The recovery plans policy defines the Time Machine data availability across multiple registered clusters in NDB. The recovery plans policy allows the database administrator to specify the source and target clusters, the frequency and retention of the cross-cluster snapshots, and the network and compute profiles for the recovery operations. The recovery plans policy helps to ensure the disaster recovery and business continuity of the NDB-managed databases in case of a cluster failure or outage.
The data access management policy defines the access permissions and roles for the NDB users and groups. The data access management policy allows the database administrator to grant or revoke access to the NDB instance, the database server VMs, the databases, and the database operations. The data access management policy helps to ensure the security and compliance of the NDB-managed databases and users.
The data protection policy defines the backup and restore settings for the NDB-managed databases. The data protection policy allows the database administrator to specify the frequency, retention, and compression of the database snapshots, and the backup location and encryption for the database backups. The data protection policy helps to ensure the backup and recovery of the NDB-managed databases within the same cluster.
The service level agreements policy defines the performance and availability metrics for the NDB-managed databases. The service level agreements policy allows the database administrator to monitor and enforce the database uptime, latency, throughput, and IOPS. The service level agreements policy helps to ensure the quality of service and performance of the NDB-managed databases.

An administrator needs to deploy a cumulative update (CU) for SQL Server. What steps would the administrator take to prepare this deployment with NDB?


A. Apply the patch to the profile VM, delete the existing Software Profile and create a new Software Profile using the profile VM as the source.


B. Create a new Software Profile version using the CU executable and publish that version


C. Apply the patch to the profile VM, then create a new Software Profile version using the profile VM as the source.


D. Create a new Software Profile using the CU executable and publish that profile.





C.
  Apply the patch to the profile VM, then create a new Software Profile version using the profile VM as the source.

Explanation:
The correct answer is C because it follows the recommended procedure for applying a CU to a SQL Server Software Profile in NDB. By applying the patch to the profile VM, the administrator ensures that the CU is compatible with the existing Software Profile settings and configuration. By creating a new Software Profile version, the administrator preserves the previous version of the Software Profile for rollback purposes and allows the new version to be tested and published. Option A is incorrect because it deletes the existing Software Profile, which may cause data loss and prevent rollback. Option B is incorrect because it does not apply the patch to the profile VM, which may result in errors or inconsistencies in the Software Profile. Option D is incorrect because it creates a new Software Profile instead of a new version, which may cause confusion and duplication.

Which statement best describes what happens when a 3rd-party backup tool is chosen to manage log backups for Microsoft SQL in NDB?


A. If exclusive log access is not granted to NDB, the Point-in-Time (PIT) recovery will not be supported, but snapshot-based recovery of the databases is supported.


B. Third-party backups vendors can continue to backup the archived logs from the database log destination. NDB will still be able to capture the logs, considering the log catch-up begins before the logs get backed up


C. If exclusive log access is not granted to NDB, the Point-in-Time (PIT) recovery will be supported, but snapshot-based recovery of the databases is not supported.


D. Third-party backups vendors can continue to backup the binary logs from the binary log location. NDB will still be able to capture the logs, considering the log catch-up begins before the logs get purged.





B.
  Third-party backups vendors can continue to backup the archived logs from the database log destination. NDB will still be able to capture the logs, considering the log catch-up begins before the logs get backed up

Explanation:
NDB supports two modes of log backup management for Microsoft SQL databases: NDB-managed and 3rdparty managed. In the NDB-managed mode, NDB takes full control of the log backups and stores them in the Cerebro log location. In the 3rd-party managed mode, NDB allows the use of external backup tools to backup the logs from the database log destination. However, NDB still needs to capture the logs for its own operations, such as point-in-time recovery, clone refresh, and log catch-up. Therefore, NDB will periodically scan the database log destination and copy the logs to the Cerebro log location. This process requires that the log catch-up begins before the logs get backed up by the 3rd-party tool, otherwise NDB will miss some logs and the operations will fail. If the 3rd-party tool grants exclusive access to the logs, then NDB will not be able to capture them at all, and the operations will not be supported.

When provisioning a new database, which two options are available for the target? (Choose two.)


A. Provision database to an existing registered


B. Provision database to an existing container.


C. Provision databases to e new container.


D. Provision database to a new database sender\cluster.





A.
  Provision database to an existing registered

C.
  Provision databases to e new container.

Explanation:
According to the Nutanix Database Automation (NCP-DB) learning documents, when provisioning a new database, there are two options available for the target12:
Provision database to an existing registered: This option allows you to provision a database to an existing registered database server. This is useful when you want to add a database to a server that is already being managed by Nutanix Era1.
Provision databases to a new container: This option allows you to provision a database to a new container. This is useful when you want to create a new isolated environment for your database1.

An administrator needs to roll back an Oracle patch on a database server VM using NDB. What is required for this action to be successful?


A. The patch must have been applied using NDB.


B. The database must be shut down.


C. The patch must have been applied on Grid home only using NDB.


D. The database must be in read-only mode.





A.
  The patch must have been applied using NDB.

Explanation:
To roll back an Oracle patch on a database server VM using NDB, the patch must have been applied using NDB in the first place. This is because NDB maintains a patch inventory and history for each database server VM and database that it manages. NDB uses this information to determine which patches can be rolled back and how to revert the changes made by the patch. If the patch was applied outside of NDB, NDB would not have the patch information and would not be able to roll back the patch. Therefore, the patch must have been applied using NDB for the rollback action to be successful. The other options are not required for the rollback action. The database does not need to be shut down or in read-only mode, as NDB can perform the rollback operation online. The patch does not need to be applied on Grid home only, as NDB can roll back patches applied on both Grid home and Database home.

How should an administrator create a database clone using the Era IJI?


A. Select Databases, Clones, Create Clone.


B. Select Databases, Sources, select a source database and then choose Create Clone.


C. Select Time Machines, select e source database end then choose Create Clone.


D. Select Database Server VMs, select a database server VM and then choose Create Clone.





C.
  Select Time Machines, select e source database end then choose Create Clone.

Explanation:
In Nutanix Database Automation (NCP-DB), the Time Machine feature is used for protecting databases and creating database clones. To create a database clone using the Era Interface, an administrator should select Time Machines, select a source database, and then choose Create Clone12. This process allows the administrator to create a copy of the source database at a specific point in time1.

Which Time Machine feature allows developers to automate the data refresh for their clones?


A. Manual Backup


B. update


C. Log Catchup


D. Schedule





D.
  Schedule

Explanation:
According to the Nutanix Database Automation (NCP-DB) learning documents, the Schedule feature of the Time Machine allows developers to automate the data refresh for their clones1. This feature eliminates the time-consuming, complex process of database clone/refresh, allowing admins to create database clones /refresh to any point in time in just a few minutes1. Please refer to the official Nutanix documentation and training materials for more detailed information2.

An administrator needs to restore a database provisioned on Storage Spaces. The virtual disks are shared with multiple databases. Which restore method is supported?


A. Disk-based restore via NDB GUI


B. Disk-based restore via NDB CLI


C. Copy-based restore via NDB GUI


D. Copy-based restore via NDB CLI





C.
  Copy-based restore via NDB GUI

Explanation:
For restoring a database provisioned on Storage Spaces, especially when virtual disks are shared among multiple databases, the supported method is a copy-based restore via the NDB GUI. This method allows for a precise and controlled restoration process suitable for shared storage environments.
References: Nutanix Database Automation documentation, specifically in the section on database restoration methods and storage spaces.


Page 5 out of 13 Pages
Previous