PORTWORX-ENTERPRISE-PROFESSIONAL practice question 3 of 15

What command allows a Portworx admin to create a cloud credential for the Object Store?

Full set: 75 questions
Answer options
A: pxctl service credentials create
B: pxctl credentials generate
C: pxctl credentials create Correct answer
Correct Answer:
C. pxctl credentials create
Explanation

The pxctl credentials create command is the designated utility within the Portworx command-line interface for registering cloud provider credentials. This command allows an administrator to securely store access keys and other necessary authentication details for various cloud services, such as AWS S3, Azure Blob Storage, or Google Cloud Storage. These stored credentials are then used by Portworx for features that interact with the cloud, most notably for creating cloud snapshots and backing up volumes to an object store. The command requires specifying the provider and the relevant authentication parameters.

Why Incorrect

A. pxctl service credentials create: This is not a valid Portworx command. The pxctl service subcommand is used for managing internal Portworx services (e.g., pxctl service diags), not for managing external cloud credentials.
B. pxctl credentials generate: The generate subcommand is not a valid action for pxctl credentials. The correct verb for establishing a new credential entry is create, which involves providing pre-existing keys from a cloud provider.

References

1. Portworx Enterprise Documentation

"Manage cloud credentials": This official document explicitly details the procedure for managing cloud credentials. Under the "Create cloud credentials" section

it states

"To create cloud credentials

you must use the pxctl credentials create command..." and provides syntax examples for AWS

Azure

and GCP.

Source: Portworx by Pure Storage

Official Documentation.

Section: Operate and Maintain on Kubernetes -> Storage operations -> Manage cloud credentials -> Create cloud credentials.

2. Portworx Enterprise Documentation

"pxctl reference": The command-line reference guide lists all valid commands and subcommands. It confirms that create is a valid subcommand for pxctl credentials

while generate is not. It also shows that credentials is not a subcommand of pxctl service.

Source: Portworx by Pure Storage

Official Documentation.

Section: Reference -> CLI Reference -> pxctl -> pxctl credentials.

Scroll to Top