While restoring a PostgreSQL HA instance, an administrator notices that the restore of a standby node has failed. The primary node is ready to seive application traffic.
In what state does NDB leave the database?
Correct Answer: C
When restoring a PostgreSQL HA instance in NDB, if the standby node fails to restore but the primary node is successfully restored and ready to serve application traffic, NDB considers the database operational from the perspective of the primary node. In this scenario, NDB leaves the database in an "ONLINE" state, reflecting that the primary node is functional and capable of handling requests, even though the HA configuration is not fully intact due to the standby failure.
The administrator would need to address the standby node separately (e.g., by re-provisioning or troubleshooting), but the database's state is determined by the primary node's readiness.