展示を参照してください。エンジニアは REST API 呼び出しを承認する必要があります。API パスワードは「Cisco123!」です。呼び出しを承認するには、どの Bash コマンドをコードに配置する必要がありますか?
正解:D
In the provided Python code, the API_PASSWORD is retrieved from the environment variable API_PASSWORD. To set this environment variable in a Bash shell, the correct command to use is export. This command sets the environment variable for the current shell session and any child processes. * Bash Command: export API_PASSWORD=Cisco123! This command ensures that the environment variable API_PASSWORD is set to "Cisco123!" and can be accessed by the Python script. References: * Bash export Command * Cisco DevNet Associate Certification Guide