AWS Certified Developer Associate DVA-C02 Practice Question

A software engineer is tasked with enabling an application, hosted on a virtual server, to interact with a cloud object storage service for uploading and downloading data. The engineer needs to implement a secure method of authentication that obviates the need to hardcode or manually input long-term credentials. What is the most appropriate strategy to achieve this while adhering to security best practices?

  • Assign a role to the virtual server that grants appropriate permissions to interact with the object storage service.

  • Save the service user's access credentials in a text file on the root directory of the virtual server for the application to use.

  • Manually enter the user credentials for the service at the start of each application session on the virtual server.

  • Hardcode the service user's access credentials in the source code of the application on the virtual server.

AWS Certified Developer Associate DVA-C02
Security
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot