ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 289 - 350-901 discussion

Report
Export

Refer to the exhibit.

A developer created a Python script to retrieve interface information for the devices in a MeraKi network environment. A security analyst has reviewed the code and observed poor secret storage practices. What is the appropriate password storage approach?

A.

Set the Base64 encoded version of the API key as MER_API_KEY in the code and Base64 decode before using in the header.

Answers
A.

Set the Base64 encoded version of the API key as MER_API_KEY in the code and Base64 decode before using in the header.

B.

Set an OS environment variable for MER_API_KEY to the API key during running the code and longer set MER_API_KEY within the code.

Answers
B.

Set an OS environment variable for MER_API_KEY to the API key during running the code and longer set MER_API_KEY within the code.

C.

Create a secret for the API key, set MER_API_KEY using the value from the secret in the Pod. and no longer set MER_API_KEY within the code.

Answers
C.

Create a secret for the API key, set MER_API_KEY using the value from the secret in the Pod. and no longer set MER_API_KEY within the code.

D.

Leverage an external secret vault to retrieve MER_API_KEY and embed the vault key as a new variable before running the code.

Answers
D.

Leverage an external secret vault to retrieve MER_API_KEY and embed the vault key as a new variable before running the code.

Suggested answer: D
asked 10/10/2024
Joseph Washington
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first