Premium

AWS Certified Developer - Associate Questions and Answers (Dumps and Practice Questions)



Question : The only SNS notification event supported by S is S:ReducedRedundancyLostObject.

 : The only SNS notification event supported by S is S:ReducedRedundancyLostObject.
1. True
2. False



Correct Answer : Get Lastest Questions and Answer :

Explanation: S3 provides the S3:ReducedRedundancyLostObject for objects that are using the Reduce Redundancy Storage class on Amazon S3. This notification is used with SNS and sends a JSON object notification to the subscribed SNS topics if an object is lost by Amazon S3. This allows you to create automation and be informed with RRS (99.9% durability storage) has an object data loss from one of your buckets.





Question : Which of the following is NOT a common S API call?
 : Which of the following is NOT a common S API call?
1. PutObject
2. UploadPart
3. Access Mostly Uused Products by 50000+ Subscribers
4. ReadObject

Correct Answer : Get Lastest Questions and Answer :

Explanation: A list of common API calls can be found in the downloadable notes of the AWS Certified Developer course module








Question : Which of the following statements is true about DynamoDB?
 : Which of the following statements is true about DynamoDB?
1. Requests are eventually consistent unless otherwise specified
2. Requests are strongly consistent
3. Access Mostly Uused Products by 50000+ Subscribers
4. None of the above
Ans : 1
Exp : Data is eventually consistent because DynamoDB maintains multiple copies of an item to ensure durability. The default read is an eventually consistent read. You can specify strongly consistent reads but it does require additional read capacity units each request. However, it will receive the most recent version of the item is you specify a strongly consistent read.




Question : DynamoDB supports cross table joins.
 : Which of the following statements is true about DynamoDB?
1. True
2. False
Ans: 2
Exp : DynamoDB is a NoSQL database service and does not act like traditional relational databases. Relational databases allow for cross table joins. Due to the schema design of a NoSQL database you cannot use cross table joins.





Question : You're creating a forum DynamoDB database for hosting forums. Your "thread" table contains the forum name
and each "forum name" can have one or more "subjects". What primary key type would you give the thread table in order
to allow more than one subject to be tied to the forum primary key name?

 : Which of the following statements is true about DynamoDB?
1. Hash
2. Primary and range
3. Access Mostly Uused Products by 50000+ Subscribers
4. Hash and Range
Ans : 4
Exp : Primary Key

When you create a table, in addition to the table name, you must specify the primary key of the table. DynamoDB supports the following two types of primary keys:

Hash Type Primary Key In this case the primary key is made of one attribute, a hash attribute. DynamoDB builds an unordered hash index on this primary key attribute. In the preceding example, the hash attribute for the ProductCatalog table is Id.

Hash and Range Type Primary Key In this case, the primary key is made of two attributes. The first attribute is the hash attribute and the second one is the range attribute. DynamoDB builds an unordered hash index on the hash primary key attribute and a sorted range index on the range primary key attribute. For example, Amazon Web Services maintains several forums (see Discussion Forums). Each forum has many threads of discussion and each thread has many replies. You can potentially model this by creating the following three tables:

Table Name Primary Key Type Hash Attribute Name Range Attribute Name
Forum ( Name, ... ) Hash Name -
Thread (ForumName, Subject, ... ) Hash and Range ForumName Subject
Reply ( Id, ReplyDateTime, ... ) Hash and Range Id ReplyDateTime

In this example, both the Thread and Reply tables have primary key of the hash and range type. For the Thread table, each forum name can have one or more subjects. In this case, ForumName is the hash attribute and Subject is the range attribute.

The Reply table has Id as the hash attribute and ReplyDateTime as the range attribute. The reply Id identifies the thread to which the reply belongs. When designing DynamoDB tables you have to take into account the fact that DynamoDB does not support cross-table joins. For example, the Reply table stores both the forum name and subject values in the Id attribute. If you have a thread reply item, you can then parse the Id attribute to find the forum name and subject and use the information to query the Thread or the Forum tables. This developer guide uses these tables to illustrate DynamoDB functionality. For information about these tables and sample data stored in these tables,




Question : What is the format of structured notification messages sent by Amazon SNS?
 : Which of the following statements is true about DynamoDB?
1. An XML object containing MessageId, UnsubscribeURL, Subject, Message and other values
2. An JSON object containing MessageId, DuplicateFlag, Message and other values
3. Access Mostly Uused Products by 50000+ Subscribers
4. An JSON object containing MessageId, unsubscribeURL, Subject, Message and other values
Ans : 4
Exp : Q: What is the format of structured notification messages sent by Amazon SNS?

The notification message sent by Amazon SNS for deliveries over HTTP, HTTPS, Email-JSON and SQS transport protocols will consist of a simple JSON object, which will include the following information:

MessageId: A Universally Unique Identifier, unique for each notification published.
Timestamp: The time (in GMT) at which the notification was published.
TopicArn: The topic to which this message was published
Type: The type of the delivery message, set to "Notification" for notification deliveries.
UnsubscribeURL: A link to unsubscribe the end-point from this topic, and prevent receiving any further notifications.
Message: The payload (body) of the message, as received from the publisher.
Subject: The Subject field - if one was included as an optional parameter to the publish API call along with the message.
Signature: Base64-encoded "SHA1withRSA" signature of the Message, MessageId, Subject (if present), Type, Timestamp, and Topic values.
SignatureVersion: Version of the Amazon SNS signature used.
Notification messages sent over the "Email" transport only contain the payload (message body) as received from the publisher.




Question : DynamoDB supports two types of primary keys, "Hash Type" and "Hash and Range Type" primary keys.

 : Which of the following statements is true about DynamoDB?
1. True
2. False
Ans :1
Exp : Primary Key

When you create a table, in addition to the table name, you must specify the primary key of the table. DynamoDB supports the following two types of primary keys:

Hash Type Primary Key In this case the primary key is made of one attribute, a hash attribute. DynamoDB builds an unordered hash index on this primary key attribute. In the preceding example, the hash attribute for the ProductCatalog table is Id.

Hash and Range Type Primary Key In this case, the primary key is made of two attributes. The first attribute is the hash attribute and the second one is the range attribute. DynamoDB builds an unordered hash index on the hash primary key attribute and a sorted range index on the range primary key attribute. For example, Amazon Web Services maintains several forums (see Discussion Forums). Each forum has many threads of discussion and each thread has many replies. You can potentially model this by creating the following three tables:

Table Name Primary Key Type Hash Attribute Name Range Attribute Name
Forum ( Name, ... ) Hash Name -
Thread (ForumName, Subject, ... ) Hash and Range ForumName Subject
Reply ( Id, ReplyDateTime, ... ) Hash and Range Id ReplyDateTime

In this example, both the Thread and Reply tables have primary key of the hash and range type. For the Thread table, each forum name can have one or more subjects. In this case, ForumName is the hash attribute and Subject is the range attribute.

The Reply table has Id as the hash attribute and ReplyDateTime as the range attribute. The reply Id identifies the thread to which the reply belongs. When designing DynamoDB tables you have to take into account the fact that DynamoDB does not support cross-table joins. For example, the Reply table stores both the forum name and subject values in the Id attribute. If you have a thread reply item, you can then parse the Id attribute to find the forum name and subject and use the information to query the Thread or the Forum tables. This developer guide uses these tables to illustrate DynamoDB functionality. For information about these tables and sample data stored in these tables,


Question : Your "forums" table has a primary key of "id". Using DynamoDB you're able to query the data based on the id primary key.
You need to be able to query the forums table by userId. What would you add to the table during table creation time?

 : Which of the following statements is true about DynamoDB?
1. Create a second table that contains all the information by userId
2. Create a hash and range primary key
3. Access Mostly Uused Products by 50000+ Subscribers
4. None of the above
Ans : 3
Exp : Secondary Indexes

When you create a table with a hash and range key, you can optionally define one or more secondary indexes on that table. A secondary index lets you query the data in the table using an alternate key, in addition to queries against the primary key.

With the Reply table, you can query data items by Id (hash) or by Id and ReplyDateTime (hash and range). Now suppose you had an attribute in the table-PostedBy-with the user ID of the person who posted each reply. With a secondary index on PostedBy, you could query the data by Id (hash) and PostedBy (range). Such a query would let you retrieve all the replies posted by a particular user in a thread, with maximum efficiency and without having to access any other items.

DynamoDB supports two kinds of secondary indexes:

Local secondary index : an index that has the same hash key as the table, but a different range key.

Global secondary index : an index with a hash and range key that can be different from those on the table.





Question : A local secondary index is an index that has the same hash key as the table, but a different range key.

 : Which of the following statements is true about DynamoDB?
1. True
2. False
Ans : 1
Exp : A secondary index is a data structure that contains a subset of attributes from a table, along with an alternate key to support Query operations. With a secondary index, queries are no longer restricted to the table primary key; you can also retrieve the data using the alternate key defined by the secondary index. A table can have multiple secondary indexes, which gives your applications access to many different query patterns. A local secondary index is an index that has the same hash key as the table, but a different range key.





Question : A DynamoDB table can contain ____ local secondary indexes on a table.
 : Which of the following statements is true about DynamoDB?
1. 10
2. 3
3. Access Mostly Uused Products by 50000+ Subscribers
4. 5
Ans : 4
Exp : You can define up to 5 local secondary indexes and 5 global secondary indexes per table.




Question : By default, AWS allows you to have ____ tables per account, per region
 : Which of the following statements is true about DynamoDB?
1. 224
2. 128
3. Access Mostly Uused Products by 50000+ Subscribers
4. 64
Ans : 3
Exp : Default table limit in EACH region is 256. If more tables are needed then all is required is a request to AWS to increase the table limit.


Question : Your application is trying to upload a GB file to Simple Storage Service and receive a
"Your proposed upload exceeds the maximum allowed object size." error message.
What is a possible solution for this?
 : Which of the following statements is true about DynamoDB?
1. None, Simple Storage Service objects are limited to 5 GB
2. Use the multi-part upload API for this object
3. Access Mostly Uused Products by 50000+ Subscribers

4. Contact support to increase your object size limit
5. Upload to a different region
Ans 2
Exp : The total volume of data and number of objects you can store are unlimited. Individual Amazon S3 objects can range in size from 1 byte to 5 terabytes. The largest object that can be uploaded in a single PUT is 5 gigabytes. For objects larger than 100 megabytes, customers should consider using the Multipart Upload capability.



Question : Which DynamoDB API call does not consume capacity units?


 : Which of the following statements is true about DynamoDB?
1. GetItem
2. UpdateItem
3. Access Mostly Uused Products by 50000+ Subscribers
4. UpdateTable
Ans : 4
Exp : The UpdateTable API call is used to change the required provisioned throughput capacity.


Question : An item stored in a DynamoDB can contain any number of ___
 : Which of the following statements is true about DynamoDB?
1. Parameters
2. Attributes
3. Access Mostly Uused Products by 50000+ Subscribers
4. Items
Ans : 2
Exp : In DynamoDB, an item is a collection of attributes. Each attribute has a name and a value. An attribute value can be a number, a string, a binary, or a set of any of these types.



Question : A DynamoDB item is a collection of name and value attributes.

 : Which of the following statements is true about DynamoDB?
1. True
2. False

Ans : 1
Exp : Data Model Concepts - Tables, Items, and Attributes

The DynamoDB data model concepts include tables, items and attributes.

In Amazon DynamoDB, a database is a collection of tables. A table is a collection of items and each item is a collection of attributes.

In a relational database, a table has a predefined schema such as the table name, primary key, list of its column names and their data types. All records stored in the table must have the same set of columns. DynamoDB is a NoSQL database: Except for the required primary key, an DynamoDB table is schema-less. Individual items in an DynamoDB table can have any number of attributes, although there is a limit of 64 KB on the item size. An item size is the sum of lengths of its attribute names and values (binary and UTF-8 lengths).

Each attribute in an item is a name-value pair. An attribute can be single-valued or multi-valued set. For example, a book item can have title and authors attributes. Each book has one title but can have many authors. The multi-valued attribute is a set; duplicate values are not allowed.

For example, consider storing a catalog of products in DynamoDB. You can create a table, ProductCatalog, with the Id attribute as its primary key.

ProductCatalog ( Id, ... )
You can store various kinds of product items in the table. The following table shows sample items.

Example items
{
Id = 101
ProductName = "Book 101 Title"
ISBN = "111-1111111111"
Authors = [ "Author 1", "Author 2" ]
Price = -2
Dimensions = "8.5 x 11.0 x 0.5"
PageCount = 500
InPublication = 1
ProductCategory = "Book"
}


Question : One DynamoDB read capacity unit is equal to one strongly consistent read per second.

 : Which of the following statements is true about DynamoDB?
1. True
2. False

Correct Answer : Get Lastest Questions and Answer :

Explanation: Strongly consistent reads require more effort and consume twice as many database resources as an eventually consistent read.



Related Questions


Question : To host a Apache WebServer for the www.HadoopExam.com website you launched an EBS backed Linux instance.
How can a you detach the root device and attach it to another instance as a secondary volume?
  : To host a Apache WebServer for the www.HadoopExam.com website you launched an EBS backed Linux instance.
1. It is not possible to mount the root device as a secondary volume on the other instance
2. It is not possible to mount the root volume to some other instance
3. Access Mostly Uused Products by 50000+ Subscribers
4. Unmount the root volume first and then detach it


Question : You have created an EBS instance in the US-East-a AZ which had a volume of GB in the US-East-b zone. How can you attach the volume to an instance?
  : You have created an EBS instance in the US-East-a AZ which had a volume of  GB in the US-East-b zone. How can you attach the volume to an instance?
1. Take a snapshot of the volume. Create a new volume in the USEast-1a and attach that to the instance
2. Since both the volume and the instance are in the same region, the user can attach the volume
3. Access Mostly Uused Products by 50000+ Subscribers
4. Use the volume replicate function to create a new volume in the US-East-1a and attach that to the volume


Question : You are creating an EBS volume and asks for your advice to your senior developer Tom. Which below advice Tom should you not give to you for creating an EBS volume?
  : You are creating an EBS volume and asks for your advice to your senior developer Tom. Which below advice Tom should you not give to you for creating an EBS volume?
1. Attach multiple volumes to the same instance
2. Take the snapshot of the volume when the instance is stopped
3. Access Mostly Uused Products by 50000+ Subscribers
4. Stripe multiple volumes attached to the same instance



Question : You have uploaded your blogs images to Amazon Glacier and after few days you want to view Glacier images from the AWS console.
Which information will not be available from the console?
  : You have uploaded your blogs images to Amazon Glacier and after few days you want to view Glacier images from the AWS console.
1. Last date of the inventory update
2. Size of the vault as per the last inventory
3. Access Mostly Uused Products by 50000+ Subscribers
4. Number of archives as of the last inventory



Question : Being a HadoopExam blog developer you have lot of Images to analyze and once the analysis completed you decided to upload these images as archives to Glacier.
Befor uploading you want to find key Glacier resources. Which of the below is not a Glacier resource?
  : Being a HadoopExam blog developer you have lot of Images to analyze and once the analysis completed you decided to upload these images as archives to Glacier.
1. Notification configuration
2. Archive
3. Access Mostly Uused Products by 50000+ Subscribers
4. Job


Question : You are planning to host MS SQL on an EBS volume. And you decided to use the AWS RDS.
What advantages will you have if he uses RDS in comparison to an EBS based DB?
  : You are planning to host MS SQL on an EBS volume. And you decided to use the AWS RDS.
1. Better throughput with PIOPS
2. High availability with multi AZs
3. Access Mostly Uused Products by 50000+ Subscribers
4. MS SQL is not supported with RDS