AWS DVA-C01 Certified Developer Associate Practice Exam Set 6

You are developing an application that would be used to upload images from users. You need to effectively store the Images and also the name of the user who uploaded the image. How would you accomplish this? Choose 2 answers from the options given below?


Options are :

  • Store the Images In S3 (Correct)
  • Store the name of the user in Dynamo DB (Correct)
  • Store the images in Dynamo DB
  • Store the name of the user in S3

Answer : Store the Images In S3 Store the name of the user in Dynamo DB

Your team needs to create a custom Elastic Beanstalk environment. The application requires an instance that needs a lot of custom software installed. Which of the following is the ideal way to prepare this environment?


Options are :

  • Ensure that you choose a Worker environment
  • Create multiple environments
  • Ensure that you choose a Web server environment
  • Create a custom AMI (Correct)

Answer : Create a custom AMI

You?re developing an application that is going to be deployed in the Elastic beanstalk environment. You need to ensure that the data that gets generated by the application persists even If the environment is torn down. How can you accomplish this? Choose 3 answers from the options given below?


Options are :

  • Leave the data as It Is . because Elastic beanstalk will automatically persist the storage
  • Consider storing the data in S3 (Correct)
  • Consider storing the data in a Dynamo DB table (Correct)
  • Consider storing the data in an Elastic File System (Correct)

Answer : Consider storing the data in S3 Consider storing the data in a Dynamo DB table Consider storing the data in an Elastic File System

Your application currently makes use of SQS Standard queues. The requirements for the application have now changed, and there Is now a need for exactly-once processing of messages. How can you achieve this?


Options are :

  • Use the AWS CLI to covert the standard queue to a FIFO queue
  • Use the AWS Console to covert the standard queue to a FIFO queue
  • Add the .fifo extension to the existing queue
  • Create a new FIPO queue and point the application to the new queue (Correct)

Answer : Create a new FIPO queue and point the application to the new queue

You have been told to make use of Cloud formation templates for deploying applications on EC2 Instances. These Instances need to be preconfigured with the NGINX web server to host the application. How could you accomplish this with Cloud formation?


Options are :

  • Use the Output resource type in Cloud formation
  • Use SAML to deploy the template
  • Use the Parameter resource type in Cloud formation
  • Use the cfn-init helper script in Cloud formation (Correct)

Answer : Use the cfn-init helper script in Cloud formation

You are a developer for a company. You have been asked to deploy an application for development purposes onto an Elastic beanstalk environment. You need to ensure that custom software Is installed on the backend Linux servers that are launched as part of the Elastic Beanstalk environment. Which of the following can be used to achieve this? Choose 2 answers from the options given below ?


Options are :

  • Place the file in the .config folder in your Application Source Bundle
  • Create an XML file with the required package names to be Installed on the server
  • Place the file in the .eb extensions folder in your Application Source Bundle (Correct)
  • Create an YAML file with the required package names to be installed on the server (Correct)

Answer : Place the file in the .eb extensions folder in your Application Source Bundle Create an YAML file with the required package names to be installed on the server

Your team is currently working on source code that?s defined in a Subversion repository. The company has just started using AWS tools for their CIICD process and has now mandated that source code be migrated to AWS Code Commit. Which of the following steps would you perform to fulfill this requirement Choose 2 answers from the options given below?


Options are :

  • Migrate Git code to AWS Code Commit (Correct)
  • Ensure to done the current repository before committing It to AWS Code Commit
  • Migrate the code as It Is to the AWS Code Commit Repository
  • Migrate the code to a Git Repository first

Answer : Migrate Git code to AWS Code Commit

You have an application that needs to encrypt data using the KMS service. The company has already defined the customer master key in AWS for usage in the application. Which of the following steps must be followed in the encryption process? Choose 2 answers from the options given below ?


Options are :

  • Delete the Customer Master Key after the data is encrypted
  • Delete the plaintext data encryption key after the data is encrypted (Correct)
  • Use Customer Master Key to encrypt the data x 44.
  • Use the Generate Data Key to get the data key to encrypt the data (Correct)

Answer : Delete the plaintext data encryption key after the data is encrypted Use the Generate Data Key to get the data key to encrypt the data

Your application is currently hosted in an Elastic beanstalk environment. Configuration changes need to be made to the environment. You have been told that the changes should not affect the current environment since downtime needs to be minimized. Which of the following Elastic Deployment mechanisms would you consider using?


Options are :

  • Immutable (Correct)
  • Rolling
  • All at Once
  • Rolling with Additional Batch

Answer : Immutable

You are working for a gaming company that is going to building a gaming application. You have been told to come up with a caching solution for the leader part of the application. Which of the following would you consider for this purpose?


Options are :

  • Consider using SQS Queues
  • Consider using AWS RDS My SQL
  • Consider using Elastic Cache Mem cached
  • Consider using Elastic Cache - Redis (Correct)

Answer : Consider using Elastic Cache - Redis

You have an application that is currently being deployed using the AWS Code Deploy tool. Now as per Security procedures , you don?t have access to the Code Deploy project In the console, although you do have access to run the build. You want to specify a different source location for the build. How can you achieve this?


Options are :

  • Specify the new location of the build in the buildspec.yml file and use the start-build command (Correct)
  • Specify the new location of the build in the buildspec.yml file and issue the update-project command
  • Specify the new location of the build in the buildspec.yml file and use the update-build command
  • Issue the update project command and specify the new location of the build

Answer : Specify the new location of the build in the buildspec.yml file and use the start-build command

You?ve currently developed an application which makes use of AWS RDS - MySQL service. During the testing phase you can see that the database is taking a performance hit. After further investigation, you can see that the same queries are causing the performance bottleneck on the application. Which of the following development steps should be taken to resolve this issue?


Options are :

  • Change the underlying instance type for the database
  • Use the MtdtIAZ feature for the underlying database
  • Use AWS Elastic Cache to store the results of the query for faster access (Correct)
  • Use SQS queues to store the results of the query for faster access

Answer : Use AWS Elastic Cache to store the results of the query for faster access

You?re a developer for a company that is developing a .net based application. This application will be hosted in AWS. There Is a need to encrypt data. Currently the company does not have a key store for managing encryption. Which of the following could the developer use in this code for encrypting data?


Options are :

  • Use 53 Server-side encryption to work with encryption keys
  • Use the AWS KMS service to generate data keys (Correct)
  • Use S3 client-side encryption to work with encryption keys
  • Use the AWS Config service to generate data keys

Answer : Use the AWS KMS service to generate data keys

You are creating a Lambda function that will be accessing a database. Due to compliance reasons, all database connecting strings must be stored at rest. How can you accomplish this In the Lambda function? Choose 2 answers from the options given below ?


Options are :

  • Enable encryption of the environment variable (Correct)
  • Put the database connecting string as an environment variable (Correct)
  • Encrypt the entire Lambda function
  • Put the database connection string in the Lambda function

Answer : Enable encryption of the environment variable Put the database connecting string as an environment variable

You?ve just started developing an application on your On-premise network. This application will interact with the Simple Storage Service and some Dynamo DB tables. How would you as the developer ensure that your SDK can Interact with the AWS services on the cloud?


Options are :

  • Create an lAM User, generate a security token. Use the Security Token from within your program.
  • Create an lAM Role with the required permissions and add it to your workstation
  • Create an lAM User, generate the access keys. Use the Access keys from within your program. (Correct)
  • Create an lAM Role with the required permissions and make a call to the STS service

Answer : Create an lAM User, generate the access keys. Use the Access keys from within your program.

Your company is planning on using the AWS Code Pipeline service for their Cl/CD process. They have their own propriety build process that needs to be incorporated in Code Pipeline. How can you achieve this? Please select:


Options are :

  • Create a secondary action for your Pipeline
  • Create a custom action for your Pipeline (Correct)
  • Create a primary action for your Pipeline
  • Create a default action for your Pipeline

Answer : Create a custom action for your Pipeline

Your developing a .Net Core application that is going to be hosted in an Elastic beanstalk environment. The application is going to make backend calls to a database. You need to increase the performance of the application during the testing phase. How can you diagnose any performance Issues In the easiest way possible?


Options are :

  • Use Cloud watch logs to debug issues
  • Place instrumentation calls in your code
  • Place a Load balancer in front of Elastic beanstalk
  • Make use of traces using the X-Ray service (Correct)

Answer : Make use of traces using the X-Ray service

As an API developer, you have just configured an API with the AWS API gateway service. You are testing out the API and get the below response whenever an action is made to an undefined API resource. { ?message?: ?Missing Authentication Token? ) You want to customize the error response and make it more user readable. How can you achieve this?


Options are :

  • By setting up the appropriate gateway request in the API gateway
  • By setting up the appropriate method integration request in the API gateway
  • By setting up the appropriate method in the API gateway
  • By setting up the appropriate gateway response in the API gateway (Correct)

Answer : By setting up the appropriate gateway response in the API gateway

You?ve been hired as a developer to work on an application. This application will be making use of an AWS RDS database and Elastic Cache. A requirement Is present which states that the cache should always have the most recent data that is present in the database and should not contain stale data. What strategy for Elastic Cache can the Developer use to implement this?


Options are :

  • Lazy loading
  • Error retries
  • Exponential back off
  • Write-through (Correct)

Answer : Write-through

You are a developer for your company who is responsible for development and deployment of AWS Lambda functions. You have been told to start the automated deployment of Lambda based applications. Which of the following can be used for automated deployment? Choose 3 answers from the options given below?


Options are :

  • AWS Code Pipeline (Correct)
  • AWS Code Build (Correct)
  • AWS Code Deploy (Correct)
  • AWS API gateway

Answer : AWS Code Pipeline AWS Code Build AWS Code Deploy

Your currently deploying an application that needs to have a sign-up and sign-in functionality added. As much as possible , you would want to reduce the coding effort required for these modules. You also need to ensure that code is executed automatically after the sign-In process Is complete. How can you achieve this? Choose 2 answers from the options below?


Options are :

  • Use the AWS lAM service to provide the sign-up and sign-in functionality
  • Use the AWS Cognito service to provide the sign-up and sign-in functionality (Correct)
  • Use AWS Lambda functions to trigger code that will be run after the user sign-in process is complete (Correct)
  • Use AWS Cloud watch events to trigger code that will be run after the user sign-In process Is complete

Answer : Use the AWS Cognito service to provide the sign-up and sign-in functionality Use AWS Lambda functions to trigger code that will be run after the user sign-in process is complete

You?ve written an application that uploads objects onto an 53 bucket The size of the object varies between 200 - 500 MB. You?ve seen that the application sometimes takes a longer than expected time to upload the object. You want to improve the performance of the application. Which of the following would you consider?


Options are :

  • Enable versioning on the Bucket
  • Create multiple threads and upload the objects in the multiple threads
  • Use the Multipart upload APi (Correct)
  • Write the items in batches for better performance

Answer : Use the Multipart upload APi

You have been hired as a developer to work on an application. This application is hosted on an EC2 Instance and interacts with an SQS queue. It?s been noticed that when messages are being pulled by the application, a lot of empty responses are being returned. What change can you make to ensure that the application uses the SQS queue effectively. ?


Options are :

  • Use short polling
  • Use long polling (Correct)
  • Set a custom visibility timeout
  • Implement exponential back off.

Answer : Use long polling

Your developing a set of Lambda functions for your application. The company mandates that all calls to Lambda functions be recorded. Which of the below service can help achieve this?


Options are :

  • AWS VPC Flow Logs IC
  • AWS Cloud watch
  • AWS Cloud Trail (Correct)
  • AWS trusted advisior

Answer : AWS Cloud Trail

You?re planning on using the AWS Code Deploy tool for deployment of your application. Which of the following is used to specify how your application will be deployed to the underlying instances?


Options are :

  • App Spec.jsonnerlsInco (Correct)
  • app Conhig. YAML
  • app ConfIg .json
  • Deployment Group

Answer : App Spec.jsonnerlsInco

You have a set of developers that need to work with applications hosted on the Elastic Beanstalk environment. You need to ensure they can work with the beanstalk environments but not give them access to the AWS Console. How can you achieve this in the BEST way possible?


Options are :

  • Ask them to manage the environments via the EB CLI (Correct)
  • Ask them to manage the environments via the SDK
  • Ask them to manage the environments via an ECS cluster
  • Ask them to manage the environments via an EC2 instance

Answer : Ask them to manage the environments via the EB CLI

You are a developer for your company. You are working on creating Cloud formation templates for different environments. You want to be able to base the creation of the environments on the values passed at runtime to the template. How can you achieve this?


Options are :

  • Specify a transform section
  • Specify an Outputs section
  • Specify a metadata section
  • Specify a parameters section (Correct)

Answer : Specify a parameters section

A company is developing an application which interacts with an existing Dynamo DB table. There is now a security mandate that all data must be encrypted at rest. How can you achieve this requirement? Choose 2 answers from the options given below?


Options are :

  • Enable Encryption for the existing table
  • Copy the data from the existing table to the new table (Correct)
  • Create a new table with Encryption Enabled (Correct)
  • Enable your application to use the SDK to decrypt the data

Answer : Copy the data from the existing table to the new table Create a new table with Encryption Enabled

You?ve been asked to move an existing development environment on the AWS Cloud. This environment consists mainly of Docker based containers. You need to ensure that minimum effort is taken during the migration process. Which of the following step would you consider for this requirement?


Options are :

  • Create an EC2 Instance. Install Docker and deploy the necessary containers.
  • Create an EC2 Instance. Install Docker and deploy the necessary containers. Add an Auto scaling Group for scalability of the containers
  • Create an Opswork stack and deploy the Docker containers
  • Create an application and Environment for the Docker containers in the Elastic Beanstalk service (Correct)

Answer : Create an application and Environment for the Docker containers in the Elastic Beanstalk service

Your defining a Red is cluster using the AWS Elastic cache service. You need to define common values across the nodes for memory usage and item sizes. Which of the following component of the Elastic Cache service allows you to define this?


Options are :

  • Parameter Groups (Correct)
  • Subnet Groups
  • Security Groups
  • Endpoints

Answer : Parameter Groups

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions