Amazon DVA-C01 Practice Test - Questions Answers, Page 4
List of questions
Question 31

A startup s photo-sharing site is deployed in a VPC. An ELB distributes web traffic across two subnets. ELB session stickiness is configured to use the AWS-generated session cookie, with a session TTL of 5 minutes. The webserver Auto Scaling Group is configured as: min-size=4, max-size=4. The startups preparing for a public launch, by running load-testing software installed on a single EC2 instance running in us-west-2 a. After 60 minutes of load-testing, the webserver logs show:
Which recommendations can help ensure load-testing HTTP requests are evenly distributed across the four webservers? Choose 2 answers
Question 32

Which of the following are valid SNS delivery transports? Choose 2 answers
Explanation:
https://aws.amazon.com/sns/faqs/Q: What are the different delivery formats/transports for receiving notifications? In order for customers to have broad flexibility of delivery mechanisms, Amazon SNS supports notifications over multiple transport protocols. Customers can select one the following transports as part of the subscription requests:
“HTTP”, “HTTPS” – Subscribers specify a URL as part of the subscription registration; notifications will be delivered through an HTTP POST to the specified URL. ”Email”, “Email-JSON” – Messages are sent to registered addresses as email. Email-JSON sends notifications as a JSON object, while Email sends text-based email. “SQS” – Users can specify an SQS standard queue as the endpoint; Amazon SNS will enqueue a notification message to the specified queue (which subscribers can then process using SQS APIs such as ReceiveMessage, DeleteMessage, etc.). Note that FIFO queues are not currently supported.
“SMS” – Messages are sent to registered phone numbers as SMS text messages.
Question 33

How is provisioned throughput affected by the chosen consistency model when reading data from a DynamoDB table?
Question 34

Which of the following are valid arguments for an SNS Publish request? Choose 3 answers
Explanation:
https://docs.aws.amazon.com/sns/latest/api/API_Publish.htmlMessageMessageAttributesMessageStructurePhoneNumberSubjectTargetArnTopicArn
Question 35

How can software determine the public and private IP addresses of the Amazon EC2 instance that it is running on?
Explanation:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-categories.htmlData: local-hostname Descriptions: The private IPv4 DNS hostname of the instance. In cases where multiple network interfaces are present, this refers to the eth0 device (the device for which the device number is 0). Data: public-ipv4 Descriptions: The public IPv4 address. If an Elastic IP address is associated with the instance, the value returned is the Elastic IP address.
Question 36

EC2 instances are launched from Amazon Machine images (AMIs). A given public AMI can:
Explanation:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/usingsharedamis-finding.html
Question 37

Which EC2 API call would you use to retrieve a list of Amazon Machine Images (AMIs)?
Explanation:
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.htmlDescribes the specified images (AMIs, AKIs, and ARIs) available to you or all of the images available to you.
Question 38

In AWS, which security aspects are the customer’s responsibility? Choose 4 answers
Explanation:
Physical and Environmental Security
AWS’s data centers are state of the art, utilizing innovative architectural and engineering approaches. Amazon has many years of experience in designing, constructing, and operating large-scale data centers. This experience has been applied to the AWS platform and infrastructure. AWS data centers are housed in nondescript facilities. Physical access is strictly controlled both at the perimeter and at building ingress points by professional security staff utilizing video surveillance, intrusion detection systems, and other electronic means. Authorized staff must pass two-factor authentication a minimum of two times to access data center floors. All visitors and contractors are required to present identification and are signed in and continually escorted by authorized staff. Storage Decommissioning
When a storage device has reached the end of its useful life, AWS procedures include a decommissioning process that is designed to prevent customer data from being exposed to unauthorized individuals. AWS uses the techniques detailed in DoD 5220.22-M (National Industrial Security Program Operating Manual) or NIST 800-88 (Guidelines for Media Sanitization) to destroy data as part of the decommissioning process. All decommissioned magnetic storage devices are degaussed and physically destroyed in accordance with industry-standard practices.
Question 39

When using a large Scan operation in DynamoDB, what technique can be used to minimize the impact of a scan on a table's provisioned throughput?
Explanation:
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-query-scan.htmlBecause a Scan operation reads an entire page (by default, 1 MB), you can reduce the impact of thescan operation by setting a smaller page size. The Scan operation provides a Limit parameter thatyou can use to set the page size for your request. Each Scan or Query request that has a smaller pagesize uses fewer read operations and creates a "pause" between each request. For example, if eachitem is 4 KB and you set the page size to 40 items, then a Query request would consume only 40strongly consistent read operations or 20 eventually consistent read operations. A larger number ofsmaller Scan or Query operations would allow your other critical requests to succeed withoutthrottling.
Question 40

Company D is running their corporate website on Amazon S3 accessed from http//www.companyd.com. Their marketing team has published new web fonts to a separate S3 bucket accessed by the S3 endpoint https://s3-us-west- 1.amazonaws.com/cdfonts. While testing the new web fonts, Company D recognized the web fonts are being blocked by the browser. What should Company D do to prevent the web fonts from being blocked by the browser?
Explanation:
https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html
Question