CompTIA Study Materials
AWS Study Materials
AWS Certified Developer Associate AWS Certified Developer Associate
AWS Certified Developer Associate DVA-C02
AWS Certified Solutions Architect Associate AWS Certified Solutions Architect Associate
AWS Certified Solutions Architect Associate SAA-C03
AWS Cloud Practitioner AWS Cloud Practitioner
AWS Cloud Practitioner CLF-C02
Microsoft Study Materials
Microsoft Azure Fundamentals Microsoft Azure Fundamentals
Microsoft Azure Fundamentals AZ-900

Free AWS Certified Developer Associate DVA-C02 Practice Question

An engineer needs to automate resource management on a virtual server hosted on a cloud platform. The application must abide by security best practices and not use long-term static credentials. What is the most secure approach for the engineer to facilitate necessary permissions for the application?

  • Configure the virtual server to use the cloud platform's root user credentials for all management tasks.

  • Distribute a static user's access and secret keys to the application through the virtual server's launch configuration.

  • Place access credentials within the application's source code and configure it to reference these for making service requests.

  • Attach an IAM role to the virtual server which has policies corresponding to the required level of access for the application.

  • Embed static access credentials with extensive permissions in the environment variables of the virtual server for application use.

This question's topic:
AWS Certified Developer Associate DVA-C02 / 
Security
Your Score:
Security
Development with AWS Services
Deployment
Troubleshooting and Optimization