Premium

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



Question : Being a HadoopExam.com AWS Developer you have the vault name "hadoopexam" in the US-East region. The user is trying to
create a new vault in the US-West-1 region with the same name. What will happen in this case?

  : Being a HadoopExam.com AWS Developer you have the vault name
1. Glacier will allow the user to create a new vault in the US-West-1 region
2. Glacier will throw an error for same vault name
3. Access Mostly Uused Products by 50000+ Subscribers
4. Glacier will throw an error for wrong naming convention in the US-West-1 region



Correct Answer : Get Lastest Questions and Answer :

Explanation: The vault is an archive container for Glacier. Each vault has a unique region specific end point, such as https:////vaults/<lt;vaultname> which consists the AWS region as well as the AWS account ID. In this case it will allow the user to create a new vault with the specified name.






Question : Being a HadoopExam.com AWS Developer you have uploaded archive to an empty existing Glacier vault.
And you are trying to get the inventory of archives using a job. Will Glacier return the list of uploaded archives in that job?
  : Being a HadoopExam.com AWS Developer you have uploaded  archive to an empty existing Glacier vault.
1. It may or may not list the archive in the result
2. It will not list the archive in the job result
3. Access Mostly Uused Products by 50000+ Subscribers
4. It will list the archive in the job result

Correct Answer : Get Lastest Questions and Answer :

Explanation: Amazon Glacier prepares an inventory for each vault every 24 hours. If there have been no archive additions or deletions to the vault since the last inventory, the inventory date is not updated. When the user initiates a job for a vault inventory, Glacier will return the last inventory that it generated, which is a point-in-time snapshot and not real-time data. The user may or may not get the updated list considering whether the inventory is run after the upload.






Question : HadoopExam.com has created an IAM user named cloud and is trying to create a new group with the same name as cloud. What will happen in this case?
  : HadoopExam.com has created an IAM user named cloud and is trying to create a new group with the same name as cloud. What will happen in this case?
1. If the user is creating from CLI, it will allow since the user can specify the path attribute to a separate ARN
2. AWS will allow to create the IAM group with the name cloud provided the user has given the path attribute name
3. Access Mostly Uused Products by 50000+ Subscribers
4. AWS will allow to create the IAM group with the name cloud as both the user and the group have separate ARNs



Correct Answer : Get Lastest Questions and Answer :

Explanation: AWS resources are always identified by ARN. In this case the ARN for the group will be arn:aws:iam:::group/cloud. While for the user it will be arn:aws:iam:::user/cloud. Thus, both will have separate ARNs so that the names will not conflict.



Related Questions


Question :

While working with the S3 API you receive receive the error: 403 forbidden. What is the most likely cause of this?


 :
1. BucketAlreadyExists
2. BadDigest
3. Access Mostly Uused Products by 50000+ Subscribers
4. NoSuchBucket


Question : You are working with the S API and receive an error message: Conflict. What is the possible cause of this error?

  : You are working with the S API and receive an error message:  Conflict. What is the possible cause of this error?
1. Your attempting to remove a bucket without emptying the contents of the bucket first
2. Your attempting to upload an object to the bucket that is greater than 5TB in size
3. Access Mostly Uused Products by 50000+ Subscribers
4. Your request does not contain the proper meta data


Question : Which S error code does not have a corresponding HTTP Status code?
 : Which S error code does not have a corresponding HTTP  Status code?
1. NoSuchUpload
2. NoSuchVersion
3. Access Mostly Uused Products by 50000+ Subscribers
4. MissingSecurityHeader


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




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


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