AWS DVA-C00 Certified Developer Associate Practice Exam Set 9

In Dynamo DB, what type of HTTP response codes indicate that a problem was found with the client request sent to the service? Choose an answer from the options below ?


Options are :

  • 200 HTTP response code
  • 306 HTTP response code
  • 4xx HTTP response code (Correct)
  • 5xx HTTP response code

Answer : 4xx HTTP response code

Which of the following are correct statements with policy evaluation logic in AWS Identity and Access Management? Choose 2 answers from the options below ?


Options are :

  • An explicit allow overrides an explicit deny
  • An explicit allow overrides default deny (Correct)
  • By default, all requests are denied . (Correct)
  • An explicit deny does not override an explicit allow
  • By default, all request are allowed

Answer : An explicit allow overrides default deny By default, all requests are denied .

Which of the following programming languages have an officially supported AWS SDK? Choose 2 answers from the options below ?


Options are :

  • Pascal
  • Java (Correct)
  • Perl
  • PHP (Correct)
  • SQL

Answer : Java PHP

You are Inserting 1000 new Items every second In a Dynamo DB table. Once an hour these Items are analyzed and then are no longer needed. You need to minimize provisioned throughput storage, and API calls. Given these requirements, what Is the most efficient way to manage these Items after the analysis? Choose an answer from the options below ?


Options are :

  • Create answer table per hour
  • Delete items individuality over a 24 hour period
  • Delete the table and create a new table per hour (Correct)
  • Retain the items In a single table

Answer : Delete the table and create a new table per hour

An application stores payroll information nightly in Dynamo DB for a large number of employees across hundreds of offices. Item attributes consist of individual name, office Identifier, and cumulative daily hours. Managers run reports for ranges of names working in their office. One query is. ?Return all Items In this office for names starting with A through E11. Which table configuration will result in the lowest impact on provisioned throughput for this query? Choose an answer from the options below ?


Options are :

  • Configure a hash index on the office Identifier attribute and no range index
  • Configure a hash index on the name attribute and no range index
  • Configure the table to have a range index on the name attribute, and a hash index on the office identifier (Correct)
  • Configure the table to have a hash Index on the name attribute, and a range index on the office Identifier

Answer : Configure the table to have a range index on the name attribute, and a hash index on the office identifier

What configuration does AWS provide to handle unsuccessfully-processed messages in SQS? Choose an answer from the options below ?


Options are :

  • There is no such option available
  • Retention queues
  • Delivery queues
  • Dead letter queues (Correct)

Answer : Dead letter queues

What happens, by default, when one of the resources in a Cloud Formation stack cannot be created? Choose an answer from the options below ?


Options are :

  • The stack creation continues, and the final results indicate which steps failed.
  • Previously-created resources are kept but the stack creation terminates.
  • Cloud Formation templates are parsed in advance so stack creation is guaranteed to succeed.
  • Previously-created resources are deleted and the stack creation terminates. (Correct)

Answer : Previously-created resources are deleted and the stack creation terminates.

Which of the following is an example of a good Dynamo DB hash key schema for provisioned throughput efficiency? Choose an answer from the options below ?


Options are :

  • User ID. where the application has many different users. (Correct)
  • Game Type, where there are three possible game types
  • Device ID. where one is by far more popular than all the others.
  • Status Code where most status codes are the same

Answer : User ID. where the application has many different users.

Which of the following is chosen as the default region when making an API call with an AWS SDK? Choose an answer from the options below?


Options are :

  • us-west-2
  • us-east- (Correct)
  • eu-west-i
  • ap-northeast-1
  • us-central-i

Answer : us-east-

You have an environment that consists of a public subnet using Amazon VPC and 3 instances that are running In this subnet. These three instances can successfully communicate with other hosts on the Internet. You launch a fourth instance in the same subnet, using the same AMI and security group configuration you used for the others, but find that this instance cannot be accessed from the Internet. What should you do t enable internet access? Choose an answer from the options below Please select:


Options are :

  • Modify the routing table for the public subnet
  • Configure a pubilcally routable IP Address In the host Os of the fourth instance.
  • Deploy a NAT instance into the public subnet.
  • Assign an Elastic P address to the fourth instance. (Correct)

Answer : Assign an Elastic P address to the fourth instance.

What are the 2 actions required to fan out identical messages to multiple SQS queues. Choose 2 answers from the options below ?


Options are :

  • Create and subscribe single Amazon SQS standard queues to the Amazon SNS topic
  • Use Cloud formation templates
  • Use Amazon SNS to create a topic. (Correct)
  • Create and subscribe multiple Amazon SQS standard queues to the Amazon SNS topic. (Correct)

Answer : Use Amazon SNS to create a topic. Create and subscribe multiple Amazon SQS standard queues to the Amazon SNS topic.

How is provisioned throughput affected by the chosen consistency model when reading data from a Dynamo DB table? Choose an answer from the options below ?


Options are :

  • Strongly consistent reads uses more provisioned read throughput than eventually consistent reads (Correct)
  • Strongly consistent reads uses variable provisioned read throughput depending on read activity
  • strongly consistent reads uses the same amount of provisioned read throughput as eventually consistent reads
  • Strongly consistent reads uses less provisioned read throughput than eventually consistent reads

Answer : Strongly consistent reads uses more provisioned read throughput than eventually consistent reads

Which of the following items are required to allow an application deployed on an EC2 instance to write data to a Dynamo DB table? Assume that no security Keys are allowed to be stored on the EC2 Instance. Choose an answer from options below?


Options are :

  • Create an lAM user and allow programmatic access.
  • Create an PAM user that allows write access to the Dynamo DB table.
  • Launch an EC2 Instance with the PAM user included In the launch configuration.
  • Create an lAM role that allows write access to the Dynamo DB table and attach to the instance (Correct)

Answer : Create an lAM role that allows write access to the Dynamo DB table and attach to the instance

Can conditional operations be used in a Dynamo DB query? Choose an answer from the options below Please select:


Options are :

  • TRUE (Correct)
  • FALSE

Answer : TRUE

Which of the following statements about SWF are true? Choose 3 answers from the options below ?


Options are :

  • SWF tasks are assigned once and never duplicated (Correct)
  • SWF requires an S3 bucket for workflow storage
  • SWF requires at least 1 EC2 instance per domain
  • SWF triggers SNS notifications on task assignment
  • SWF workflow executions can last up to a year (Correct)
  • SWF uses deciders and workers to complete tasks (Correct)

Answer : SWF tasks are assigned once and never duplicated SWF workflow executions can last up to a year SWF uses deciders and workers to complete tasks

Which of the following services are included at no additional cost with the use of the AWS platform? Choose 2 answers from the options below ?


Options are :

  • Auto Scaling (Correct)
  • Elastic Compute Cloud
  • Simple Workflow Service
  • Elastic Load Balancing
  • Cloud Formation (Correct)
  • Simple Storage Service

Answer : Auto Scaling Cloud Formation

Which of the following are valid arguments for an SNS Publish request? Choose 3 answers from the options below ?


Options are :

  • Language
  • Message (Correct)
  • Subject (Correct)
  • Destination
  • Topic Arn (Correct)
  • Format

Answer : Message Subject Topic Arn

When a Simple Queue Service message triggers a task that takes 5 minutes to complete, which process below will result in successful processing of the message and remove it from the queue while minimizing the chances of duplicate processing? Choose an answer from the options below


Options are :

  • Retrieve the message with increased Delay Seconds. process the message, delete the message from the queue
  • Retrieve the message with an increased visibility timeout, delete the message from the queue. process the message
  • Retrieve the message with Increased Delay Seconds. delete the message from the queue. process the message
  • Retrieve the message with an increased visibility timeout, process the message. delete the message from the queue (Correct)

Answer : Retrieve the message with an increased visibility timeout, process the message. delete the message from the queue

You?ve just deployed an Azure Lambda function. This Lambda function would be invoked via the API gateway service. You want to know If there were any errors while the Lambda function was being invoked. Which of the following service would allow you to check the performance of your underlying Lambda function. Please select:


Options are :

  • Cloud watch (Correct)
  • Cloud trail
  • AWS Trusted Advisor
  • VPC Flow Logs

Answer : Cloud watch

Company C is currently hosting their corporate site in an Amazon 53 bucket with Static Website Hosting enabled. Currently, when visitors go to http://www.companyc.com the index.html page Is returned. Company C now would like a new page welcome.html to be returned when a visitor enters http://www.companyc.com in the browser. Which of the following steps will allow Company C to meet this requirement? Choose 2 answers from the options below ?


Options are :

  • Upload an html page named welcome.html to their S3 bucket (Correct)
  • Set the Error Document property to welcome.html
  • Create a welcome subfolder in their 53 bucket
  • Set the Index Document property to welcome.html (Correct)
  • Move the index.html page to a welcome subfolder

Answer : Upload an html page named welcome.html to their S3 bucket Set the Index Document property to welcome.html

Is Dynamo DB suited only for high scale based applications? Choose an answer from the options below


Options are :

  • FALSE (Correct)
  • TRUE

Answer : FALSE

What AWS products and features can be deployed by Elastic Beanstalk? Choose 3 answers from the options below ?


Options are :

  • Elastic IP addresses
  • RDS Instances (Correct)
  • Route 53 hosted zones
  • Auto scaling groups (Correct)
  • Elastic Load Balancers (Correct)
  • SQS Queues

Answer : RDS Instances Auto scaling groups Elastic Load Balancers

In SNS, push notifications are allowed for multiple platforms?


Options are :

  • FALSE
  • TRUE (Correct)

Answer : TRUE

Your support teams calls you and tells you that the application you developed is giving the error ?Your proposed upload exceeds the maximum allowed object size.? error message when uploading an object to 53. What is a possible solution for this? Choose an answer from the options below


Options are :

  • Use the large object upload API for this object
  • Contact support to increase your object size limit
  • None. Simple Storage Service objects are limited to 5 GB
  • Upload to a different region
  • Use the multi-part upload API for this object (Correct)

Answer : Use the multi-part upload API for this object

Which statements about Dynamo DB are true? Choose 2 answers from the options below ?


Options are :

  • Dynamo DB restricts item access during writes
  • Dynamo DB uses the optimistic concurrency control (Correct)
  • Dynamo DB uses a pessimistic locking model
  • Dynamo DB restricts item access during reads
  • Dynamo DB uses conditional writes for consistency (Correct)

Answer : Dynamo DB uses the optimistic concurrency control Dynamo DB uses conditional writes for consistency

Your Manager wants to have a facility to have templates from EC2 instances launched in any region without much effort. When it comes to Amazon Machine images (AMIS) which of the below statements are true when it comes to a given public AMI. Choose an answer from the options below ?


Options are :

  • be used to launch EC2 instances In any AWS region.
  • only be used to launch EC2 instances in the same AWS availability zone as the AMI Is stored
  • only be used to launch EC2 instances in the same AWS region as the AMI is stored. (Correct)
  • only be used to launch EC2 instances in the same country as the AMI is stored.

Answer : only be used to launch EC2 instances in the same AWS region as the AMI is stored.

What is the maximum length of a topic name in SNS? Choose the correct answer from the options below ?


Options are :

  • There is no limit
  • 512 characters
  • 256 characters (Correct)
  • 128 characters

Answer : 256 characters

Company A has an 53 bucket containing premier content that they intend to make available to only paid subscribers of their website. The S3 bucket currently has default permissions of all objects being private to prevent Inadvertent exposure of the premier content to non-paying website visktors. How can Company A SI provide only paid subscribers the ability to download a premier content file in the S3 bucket?


Options are :

  • Apply a bucket policy that grants anonymous users to download the content from the 53 bucket
  • Add a bucket policy that requires Multi-Factor Authentication for requests to access the 53 bucket objects
  • Generate a pre-signed object URL for the premier content file when a paid subscriber requests a download (Correct)
  • Enable server side encryption on the S3 bucket for data protection against the non-paying website visitors

Answer : Generate a pre-signed object URL for the premier content file when a paid subscriber requests a download

You are providing AWS consulting services for a company developing a new mobile application that will be leveraging Amazon SNS Mobile Push for push notifications. In order to send direct notification messages to individual devices each device registration identifier or token needs to be registered with SNS; however the developers are not sure of the best way to do this. You advise them to Please select:


Options are :

  • Let the push notification service (e.g. Amazon Device Messaging) handle the registration
  • Bulk upload the device tokens contained in a CSV file via the AWS Management Console
  • Call the Create Platform End Point API function to register multiple device tokens. (Correct)
  • Implement a token vending service to handle the registration

Answer : Call the Create Platform End Point API function to register multiple device tokens.

Which of the below logical operators are allowed in a Dynamo DB query? Choose 3 answers from the options below?


Options are :

  • NOT (Correct)
  • AND (Correct)
  • OR? (Correct)
  • XOR

Answer : NOT AND OR?

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions