Free AWS Certified Developer - Associate DVA-C02 Exam Braindumps (page: 3)

Page 3 of 116

A company wants to share information with a third party. The third party has an HTTP
API endpoint that the company can use to share the information. The company has the required API key to access the HTTP
API.
The company needs a way to manage the API key by using code. The integration of the API key with the application code cannot affect application performance.
Which solution will meet these requirements MOST securely?

  1. Store the API credentials in AWS Secrets Manager. Retrieve the API
    credentials at runtime by using the AWS SDK. Use the credentials to make the
    API call.
  2. Store the API credentials in a local code variable. Push the code to a secure Git repository. Use the local code variable at runtime to make the
    API call.
  3. Store the API credentials as an object in a private Amazon S3 bucket.
    Restrict access to the S3 object by using IAM policies. Retrieve the API
    credentials at runtime by using the AWS SDK. Use the credentials to make the
    API call.
  4. Store the API credentials in an Amazon DynamoDB table. Restrict access to the table by using resource-based policies. Retrieve the API credentials at runtime by using the AWS SDK. Use the credentials to make the API call.

Answer(s): A



A developer is deploying a new application to Amazon Elastic Container Service
(Amazon ECS). The developer needs to securely store and retrieve different types of variables. These variables include authentication information for a remote API, the
URL for the API, and credentials. The authentication information and API URL must be available to all current and future deployed versions of the application across development, testing, and production environments.
How should the developer retrieve the variables with the FEWEST application changes?

  1. Update the application to retrieve the variables from AWS Systems Manager
    Parameter Store. Use unique paths in Parameter Store for each variable in each environment. Store the credentials in AWS Secrets Manager in each environment.
  2. Update the application to retrieve the variables from AWS Key Management
    Service (AWS KMS). Store the API URL and credentials as unique keys for each environment.
  3. Update the application to retrieve the variables from an encrypted file that is stored with the application. Store the API URL and credentials in unique files for each environment.
  4. Update the application to retrieve the variables from each of the deployed environments. Define the authentication information and API URL in the ECS
    task definition as unique names during the deployment process.

Answer(s): A



A company is migrating legacy internal applications to AWS. Leadership wants to rewrite the internal employee directory to use native AWS services. A developer needs to create a solution for storing employee contact details and high-resolution photos for use with the new application.
Which solution will enable the search and retrieval of each employee's individual details and high-resolution photos using AWS APIs?

  1. Encode each employee's contact information and photos using Base64. Store the information in an Amazon DynamoDB table using a sort key.
  2. Store each employee's contact information in an Amazon DynamoDB table along with the object keys for the photos stored in Amazon S3.
  3. Use Amazon Cognito user pools to implement the employee directory in a fully managed software-as-a-service (SaaS) method.
  4. Store employee contact information in an Amazon RDS DB instance with the photos stored in Amazon Elastic File System (Amazon EFS).

Answer(s): B



A developer is creating an application that will give users the ability to store photos from their cellphones in the cloud. The application needs to support tens of thousands of users. The application uses an Amazon API Gateway REST API that is integrated with AWS Lambda functions to process the photos. The application stores details about the photos in Amazon
DynamoDB.
Users need to create an account to access the application. In the application, users must be able to upload photos and retrieve previously uploaded photos. The photos will range in size from 300 KB to 5 MB.
Which solution will meet these requirements with the LEAST operational overhead?

  1. Use Amazon Cognito user pools to manage user accounts. Create an Amazon
    Cognito user pool authorizer in API Gateway to control access to the API.
    Use the Lambda function to store the photos and details in the DynamoDB
    table. Retrieve previously uploaded photos directly from the DynamoDB table.
  2. Use Amazon Cognito user pools to manage user accounts. Create an Amazon
    Cognito user pool authorizer in API Gateway to control access to the API.
    Use the Lambda function to store the photos in Amazon S3. Store the object's
    S3 key as part of the photo details in the DynamoDB table. Retrieve previously uploaded photos by querying DynamoDB for the S3 key.
  3. Create an IAM user for each user of the application during the sign-up process. Use IAM authentication to access the API Gateway API. Use the
    Lambda function to store the photos in Amazon S3. Store the object's S3 key as part of the photo details in the DynamoDB table. Retrieve previously uploaded photos by querying DynamoDB for the S3 key.
  4. Create a users table in DynamoDB. Use the table to manage user accounts.
    Create a Lambda authorizer that validates user credentials against the users table. Integrate the Lambda authorizer with API Gateway to control access to the API. Use the Lambda function to store the photos in Amazon S3. Store the object's S3 key as par of the photo details in the DynamoDB table. Retrieve previously uploaded photos by querying DynamoDB for the S3 key.

Answer(s): B



Page 3 of 116



Post your Comments and Discuss Amazon AWS Certified Developer - Associate DVA-C02 exam with other Community members:

Ernesto commented on August 26, 2024
Prepared and passed this exam. Valid question and very tough exam. So good luck.
Spain
upvote