Premium

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



Question : In DynamoDB, If a specific hash key element has a large range key element set,
and the results cannot be retrieved in a single Query request,
the ______continuation parameter allows you to submit a new query request
from the last retrieved item without re-processing the data already retrieved.


  : In DynamoDB, If a specific hash key element has a large range key element set,
1. Pagination
2. LastEvaluatedKey
3. Access Mostly Uused Products by 50000+ Subscribers
4. BatchGetItem

Correct Answer : Get Lastest Questions and Answer :


Explanation: DynamoDB. If a specific hash key element has a large range key element set,
and the results cannot be retrieved in a single Query request, the ExclusiveStartKey continuation parameter
allows you to submit a new query request from the last retrieved item without re-processing the data already retrieved.

Pagination, LastEvaluatedKey, and ExclusiveStartKey
DynamoDB paginates the results from Query and Scan operations. With pagination,
Query and Scan results are divided into distinct pieces; an application can process the first page of results,
then the second page, and so on. The data returned from a Query or Scan operation is limited to 1 MB;
this means that if you scan a table that has more than 1 MB of data, you'll need to perform another
Scan operation to continue to the next 1 MB of data in the table.

If you query for specific attributes that match values that amount to more than 1 MB of data, you'll need to
perform another Query request for the next 1 MB of data. The second query request uses a starting point (ExclusiveStartKey)
based on the key of the last returned value (LastEvaluatedKey) so you can progressively query or scan for new data in 1 MB increments.

When the entire result set from a Query or Scan has been processed, the LastEvaluatedKey is null.
This indicates that the result set is complete (i.e. the operation processed the last page of data).

If LastEvaluatedKey is anything other than null, this does not necessarily mean that there is more data in the result set.
The only way to know when you have reached the end of the result set is when LastEvaluatedKey is null.






Question : You are trying to create a bucket named GOOGLE but not able to create, what could be reason ?
 :  You are trying to  create a bucket named GOOGLE but not able to create, what could be reason ?
1. GOOGLE bucket is the reserved for Google.com
2. GOOGLE bucket is already used in the region, which you have chosen.
2. GOOGLE bucket is already used on S3, and it can not be re-used
2. AWS check before creating the buckte that, if domain exist then it will not create bucket.


Correct Answer : Get Lastest Questions and Answer :


Explanation: The bucket namespace is global - just like domain names. You can't create a bucket with a name that is already used by another Amazon S3 user.
In most cases, the common names, such as "images" or "users" will not be available.

If you try to create a bucket with a name that already exists, you will get a 409 Conflict.







Question : The metadata which you store for an object is always encrypted ?
 :  The metadata which you store for an object is always encrypted ?
1. True
2. False

Correct Answer : Get Lastest Questions and Answer : Object Key and Metadata : Each Amazon S3 object has data, a key, and metadata. When you create an object you specify the key name. This key name uniquely identifies the object in the bucket. For example, in Amazon S3 console (see AWS Management Console), when you highlight a bucket, a list of objects in your bucket appear. These names are the object keys. The name for a key is a sequence of Unicode characters whose UTF-8 encoding is at most 1024 bytes long.
Note : If you anticipate that your workload against Amazon S3 will exceed 100 requests per second, follow the Amazon S3 key naming guidelines for best performance. For information, see Request Rate and Performance Considerations.

In addition to the key, each Amazon S3 object has metadata. It is a set of name-value pairs. You can set object metadata at the time you upload it. After you upload the object, you cannot modify object metadata. The only way to modify object metadata is to make copy of the object and set the metadata. For more information, go to PUT Object - Copy in the Amazon Simple Storage Service API Reference. You can use the Amazon S3 management console to update the object metadata but internally it makes an object copy replacing the existing object to set the metadata.There are two kinds of metadata: system metadata and user-defined metadata.
Encryption provides added security for your object data stored in your buckets in Amazon S3. You can encrypt data on your client-side and upload the encrypted data to Amazon S3. In this case, you manage encryption process, the encryption keys, and related tools. Optionally, you might want to use the server-side encryption feature in which Amazon S3 encrypts your object data before saving it on disks in its data centers and decrypts it when you download the objects, freeing you from the tasks of managing encryption, encryption keys, and related tools. You can also use your own encryption keys with the Amazon S3 server-side encryption feature

Server-side encryption encrypts only the object data. Any object metadata is not encrypted.

Instead of using Amazon S3's server-side encryption, you also have the option of encrypting your data before sending it to Amazon S3. You can build your own library that encrypts your objects data on the client side before uploading it to Amazon S3. Optionally, you can use the AWS SDK for Java, which you can use to automatically encrypt your data before uploading it to Amazon S3.
Specifying Encryption Metadata Storage Location : When the Amazon S3 client (using the AmazonS3EncryptionClient class) encrypts data and uploads it to Amazon S3, the encrypted envelope symmetric key is also stored in S3. By default, the encrypted key is stored as user-defined object metadata. After you upload an encrypted object, you can view its properties and see the additional metadata name-value pairs related to encryption. For example, the key name x-amz-meta-x-amz-key and key value equal to the envelope key are set on an client-side encrypted object uploaded to Amazon S3. Optionally, you can also choose to store encryption metadata as an instruction file stored at the same location as the encrypted file. The instruction file will have the same key name as the encrypted data file but with the extension ".instruction" appended. You should use an instruction file when the strength of your encryption key results in a symmetric key that is too big for the object metadata. Metadata should be less than 2 KB. Encryption metadata is either stored as object metadata or an instruction file, but not both.




Related Questions


Question : You have defined a SQS queue and any user can send the message in it,
and your application reads the message from the queue but before processing this message
you want to validate whether it is a valid ip or not.
So which of the following attribute from message will give you the ip address.
  : You have defined a SQS queue and any user can send the message in it,
1. ip
2. ipaddress
3. SenderId
4. allipaddress
5. SenderIds



Question : You want to read a message from the SQS queue, however you want the behaviour like blocking queue means until
the message is available in the queue, it shpuld not return. Which of the following strategy will help for above scenerio ?

 :  You want to read a message from the SQS queue, however you want the behaviour like blocking queue means until
1. SQS long polling
2. SQS short polling
3. Creating SQS blocking queue
4. 1 and 2
5. All 1,2 and 3



Question : What are the features of the AmazonSQSBufferedAsync ?

  : What are the features of the AmazonSQSBufferedAsync ?
1. AmazonSQSBufferedAsync client supports automatic batching of multiple SendMessage, DeleteMessage
2. AmazonSQSBufferedAsync client supports prefetching of messages into a local buffer
3. AmazonSQSBufferedAsync client supports prefetching of messages into a file in your application (So its durable)
4. 1 and 2
5. 1 and 3



Question : Which of the following statements about SWF are true? Choose answers
A. SWF tasks are assigned once and never duplicated
B. SWF requires an S3 bucket for workflow storage
C. SWF workflow executions can last up to a year
D. SWF triggers SNS notifications on task assignment
E. SWF uses deciders and workers to complete tasks
F. SWF requires at least 1 EC2 instance per domain
 : Which of the following statements about SWF are true? Choose  answers
1. A,B,C
2. D,E,F
3. D,E,F
4. B,E,F
5. A,C,E


Question : With short polling, when you retrieve messages from the queue, you are not receiving the message.
You know there are messages in the queue. What could be the possible reason for not able to get the messages
  : With short polling, when you retrieve messages from the queue, you are not receiving the message.
1. Your message queue servers are down
2. Message has been lost in the queue
3. You have not added header information the message and you application can receive message based on header information
4. Is it possible because your queue has less than 1000 messages, so in subsequent request you will receive the message



Question : Which of the following are valid identifiers for the Amazon SQS queue and messages

  : Which of the following are valid identifiers for the Amazon SQS queue and messages
1. Queue URL
2. Message ID
3. Receipt handle
4. 1 and 2
5. All 1 2 and 3