Question 20
A cloud developer must resolve: A deployment script fails when enabling vector extensions because the flexible server restricts which extensions are allowed. Which implementation step best meets the stated requirement?
Explanation
Correct Answer
Add only the supported extension to the allowlist and enable it within the database. The scenario specifically states: A deployment script fails when enabling vector extensions because the flexible server restricts which extensions are allowed. Extension activation depends on supported versions and server allowlist settings. This change targets the named service and constraints rather than a different workflow. Validate the result by checking A deployment can create and use the vector extension without broader superuser access. The important remaining qualification is: Allowlisting an extension does not create indexes or correct dimensionality.
Incorrect Answers
Pgvector functionality requires the supported vector extension to be enabled under the server's extension policy. That addresses a different mechanism; this question turns on Add only the supported extension to the allowlist and.
PostgreSQL Flexible Server zone-redundant high availability uses a standby for supported failover needs. In the present case the governing issue is Extension activation depends on supported versions and server allowlist, which this does not resolve.
Parameterized SQL prevents input text from becoming executable SQL structure. That observation may hold without resolving the relevant issue: Add only the supported extension to the allowlist and.