Courseiva
Database SecurityeasyMultiple ChoiceObjective-mapped

DBS-C01 Database Security Practice Question

Network Topology
aws secretsmanager get-secret-valuesecret-id MyDatabaseSecretRefer to the exhibit."ARN": "arn:aws:secretsmanager:us-east-1:123456789012:secret:MyDatabaseSecret-abc123","Name": "MyDatabaseSecret","SecretString": "{\"username\":\"admin\",\"password\":\"P@ssw0rd\"}","VersionId": "abc123"

A developer runs the AWS CLI command shown in the exhibit. What is the output indicating?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The secret contains a username and password in JSON format.

The `aws secretsmanager get-secret-value` command returns the secret's value in the `SecretString` field, which typically contains a JSON object with the username and password. Option A is incorrect because the command succeeded, indicating the secret is accessible. Option B is incorrect because secrets are encrypted at rest by default. Option C is incorrect because the output includes the version ID but does not indicate rotation.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The secret value is not accessible.

    Why it's wrong here

    The secret is encrypted at rest by default, and the command successfully retrieves the secret, so it is accessible.

  • The secret is not encrypted.

    Why it's wrong here

    The secret is encrypted at rest; the output shows the decrypted value, so this option is incorrect.

  • The secret has been rotated.

    Why it's wrong here

    The output shows the secret version, not rotation status; there is no indication of rotation.

  • The secret contains a username and password in JSON format.

    Why this is correct

    The output displays the secret value in JSON format containing both a username and password, which is the expected result of retrieving a secret.

About these practice questions

Courseiva writes every DBS-C01 question from scratch — 1,663 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DBS-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DBS-C01 exam.