AWS DVA-C00 Certified Developer Associate Practice Exam Set 7

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 Cl/CD 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 clone 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 G Repository first (Correct)

Answer : Migrate Git code to AWS Code Commit Migrate the code to a G Repository first

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 achieve this in the easiest way possible?


Options are :

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

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

Your developing an application that is working with a Dynamo DB table. You need to create a query which has a search criterion. Which of the following must be done in order to work with search queries? Choose 2 answers from the options given below ?


Options are :

  • Specify a sort key name and value in the equality condition
  • Specify a key condition expression in the query (Correct)
  • Specify a partition key name and value We the equality condition (Correct)
  • Specify a filter expression

Answer : Specify a key condition expression in the query Specify a partition key name and value We the equality condition

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 Elastic Cache - Red is (Correct)
  • Consider using Elastic Cache Mem cached
  • Consider using SQS Queues
  • Consider using AWS RDS My SQL

Answer : Consider using Elastic Cache - Red is

A company currently has an application that works with Dynamo DB. You have been requested to increase the performance of the underlying queries for the Dynamo DB table by using Indexes. Which of the following are the best practices when It comes to working with Indexes efficiently? Choose 2 answers from the option given below?


Options are :

  • Try to keep the number of indexes to a minimum (Correct)
  • Try to create as many indexes as possible
  • Avoid indexing tables with a lot of read activity
  • Avoid indexing tables with a lot of write activity (Correct)

Answer : Try to keep the number of indexes to a minimum Avoid indexing tables with a lot of write activity

A company is planning on using the API gateway service to expose API?s to external users. They need to ensure the right authorization measures are in place. Which of the following can be used to control access to API?s in the API gateway? Choose 3 answers from the options given below?


Options are :

  • Lambda authorizers (Correct)
  • lAM Policies
  • Resource policies (Correct)
  • Key policies

Answer : Lambda authorizers Resource policies

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 tile and issue the update-project command
  • Specify the new location of the build in the buildspec.yml file and use the update-build command
  • Specify the new location of the build in the bulldspec.yml file and use the start-build command (Correct)
  • Issue the update project command and specify the new location of the build

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

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 make a call to the STS service
  • 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)

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

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 :

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

Answer : Put the database connection string in the Lambda function Enable encryption of the environment variable

You are the team lead for an application that is already in production and making use of 53 buckets. Users from another country have now started actively using the objects in the 53 bucket. Which of the following can be done to reduce the latency of access to objects for the new users?


Options are :

  • Enable cross region replication for the bucket (Correct)
  • Enable Encryption for the bucket
  • Host a static web site
  • Change the storage data

Answer : Enable cross region replication for the bucket

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 working as a team lead for your company. You have been told to manage the Blue Green Deployment methodology for one of the applications. Which of the following are some of the approaches for implementing this methodology? Choose 2 answers from the options given below


Options are :

  • Using Route 53 with Weighted Routing policies (Correct)
  • Using Route 53 with Latency Routing policies
  • Using Autoscaling Groups to scale on demands for both deployments
  • Using Elastic Beanstalk with the swap URL feature (Correct)

Answer : Using Route 53 with Weighted Routing policies Using Elastic Beanstalk with the swap URL feature

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?


Options are :

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

Answer : Create a custom action for your Pipeline

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 AWS Cloudwatch events to trigger code that will be run after the user sign-in process is complete
  • 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)

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

An application is currently in production that makes calls to an AWS RDS Instance. The reporting part of the application Is taking a hit and is experiencing a lot of performance issues. Which of the following can be used to alleviate the issue faced by the reporting module of the application?


Options are :

  • Enable Read Replicas for the database and make the reporting module point to the Read Replica (Correct)
  • Enable Multi-AZ for the database make the reporting module point to the Secondary database
  • Move the database to Dynamo DB and make the reporting module point to the new Dynamo DB table
  • Place an Elastic Load Balancer in front of the reporting part of the application

Answer : Enable Read Replicas for the database and make the reporting module point to the Read Replica

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 F1FO queue
  • Create a new FIFO queue and point the application to the new queue (Correct)
  • Add the .fifo extension to the existing queue
  • Use the AWS Console to covert the standard queue to a FIFO queue

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

Your development team currently uses Jenkins for managing the Cl process. You need to move the process on to AWS. Which of the following service would be the ideal service for this requirement?


Options are :

  • AWS Ops work
  • AWS Elastic Beanstalk
  • AWS Code Build (Correct)
  • AWS Code commit

Answer : AWS Code Build

Your defining a Redis 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 :

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

Answer : Parameter Groups

You?re are a developer for a company that has been hired to lead the application development for a company. The application needs to Interact with a backend data store. The application would need to perform many complex join operations on the data store. Which of the following would be ideal data store for the application?


Options are :

  • AWS Dynamo DB
  • AWS Red shift
  • AWS RDS (Correct)
  • AWSS3

Answer : AWS RDS

As a developer , you have created some Lambda functions and are now hosting them via the AWS API gateway service. You need to control access to the API gateway. Which of the following can be incorporated to control access to the API gateway? Choose 2 answers from the options given below?


Options are :

  • API stages
  • API Methods
  • AWS Cognito User pool
  • Lambda Authorizers (Correct)

Answer : Lambda Authorizers

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 ConfIg. json
  • Deployment Group
  • appConfig.YAML
  • App Spec.j son (Correct)

Answer : App Spec.j son

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. 4 ?message?: ?Missing Authentication Token?) You want to customize the error response and make it more user readable. How can you achieve this? Please select:


Options are :

  • By setting up the appropriate gateway request in the API gateway
  • By setting up the appropriate method in the API gateway
  • By setting up the appropriate method integration request 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 created a Lambda function with the default settings. You add code to this function which makes calls to Dynamo DB. You try and test the function. But the function Is not completing Its execution. Which of the following might be probable causes for this? Choose 2 answers from the options given below


Options are :

  • The timeout of the function has been reached. (Correct)
  • You need to create a version for the function first
  • The lAM Role attached to the function does not have access to Dynamo DB (Correct)
  • You need to deploy the function first

Answer : The timeout of the function has been reached. The lAM Role attached to the function does not have access to Dynamo DB

A Dynamo DB table is set to have a write capacity of 10. Which of the following will give the maximum read throughput for the table?


Options are :

  • Read capacity set to 10 for 4KB reads of data at strong consistency
  • Read capacity set to 10 for 4KB reads of data at eventual consistency (Correct)
  • Read capacity set to 10 for 1 KB reads of data at eventual consistency
  • Read capacity set to 15 for 1 KB reads of data at strong consistency

Answer : Read capacity set to 10 for 4KB reads of data at eventual consistency

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 application and Environment for the Docker containers in the Elastic Beanstalk service (Correct)
  • Create an EC2 Instance. Install Docker and deploy the necessary containers. Add an Autoscaling Group for scalability of the containers.
  • Create an EC2 Instance. Install Docker and deploy the necessary containers.
  • Create an Ops work stack and deploy the Docker containers

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

Votive developed an AWS Lambda function but are running into a lot of performance issues. You decide to use the AWS X-Ray service to diagnose the issues. Which of the following must be done to ensure that you can use the X-Ray service with your Lambda function?


Options are :

  • Ensure that the Lambda function is registered with X-Ray
  • Ensure that the lAM Role assigned to the Lambda function has access to the XRay function (Correct)
  • Ensure that the IAM Role assigned to the X-Ray function has access to the Lambda function
  • Ensure that the X-Ray daemon process is installed with the Lambda function

Answer : Ensure that the lAM Role assigned to the Lambda function has access to the XRay function

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 SAML to deploy the template
  • Use the Parameter resource type in Cloud formation
  • Use the Output 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

Your developing a system that will be sending messages to an SQS queue. Another application will be running on an EC2 Instance that will be used to process the messages. Which of the following are BEST practices when it comes to making COST effective use of the SOS queues? Choose 2 answers from the options given below


Options are :

  • Use long polling for SQS queues (Correct)
  • Use single queue operations
  • Use short polling for SQS queues
  • Group the SQS API operations In batches (Correct)

Answer : Use long polling for SQS queues Group the SQS API operations In batches

You?ve created a local Java based Lambda function. You then package and upload the function to AWS. You try to run the function with the default settings, but the function does not run as expected. Which of the following could be the reasons for the issue? Choose 2 answers from the options given below?


Options are :

  • The timeout specified for the function is too less (Correct)
  • The name assigned to the function Is not correct
  • The amount of CPU assigned to the function is not enough
  • The amount of CPU assigned to the function is not enough (Correct)

Answer : The timeout specified for the function is too less The amount of CPU assigned to the function is not enough

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 Please select:


Options are :

  • Use Customer Master Key to encrypt the data
  • Delete the plaintext data encryption key after the data is encrypted (Correct)
  • Delete the Customer Master Key after the data is encrypted
  • 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

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions