Premium

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



Question : 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:
 : You are providing AWS consulting services for a company developing a new mobile
1. Bulk upload the device tokens contained in a CSV file via the AWS Management Console.
2. Let the push notification service (e.g. Amazon Device Messaging) handle the registration.
3. Implement a token vending service to handle the registration.
4. Call the CreatePlatformEndPoint API function to register multiple device tokens.

Correct Answer : 4

Explanation: To send a push notification message to a mobile app and device using the APIs, you must first use the CreatePlatformApplication action, which returns a PlatformApplicationArnattribute. The PlatformApplicationArn attribute is then used by CreatePlatformEndpoint, which returns an EndpointArn attribute. You can then use the EndpointArn attribute with the Publish action to send a notification message to a mobile app and device, or you could use the EndpointArn attribute with the Subscribe action for subscription to a topic.

The TVMs are provided as an example of one way to implement the interaction with AWS Security Token Service. You are free to use the TVMs as provided, modify them to fit your application, or use them as inspiration for an entirely separate implementation. The source for the TVMs is available at GitHub for both the Anonymous TVM and the Identity TVM.





Question : If you want to delay the message for some time in the queue, which is the best way
 : If you want to delay the message for some time in the queue, which is the best way
1. Using delay queue
2. Using the Dead later queue
3. Using the normal queue but set the attribute DelaySeconds
4. 1 and 3
5. All 1,2 and 3


Correct Answers: 4

Explanation: Delay queues allow you to postpone the delivery of new messages in a queue for a specific number of seconds. If you create a delay queue, any message that you send to that queue will be invisible to consumers for the duration of the delay period. You can use CreateQueue to create a delay queue by setting the DelaySeconds attribute to any value between 0 and 900 (15 minutes). You can also turn an existing queue into a delay queue by using SetQueueAttributes to set the queue's DelaySeconds attribute.

Delay queues are similar to visibility timeouts in that both features make messages unavailable to consumers for a specific period of time. The difference between delay queues and visibility timeouts is that for delay queues, a message is hidden when it is first added to the queue, whereas for visibility timeouts, a message is hidden only after a message is retrieved from the queue. The following figure illustrates the relationship between delay queues and visibility timeouts.
Amazon SQS message timers allow you to specify an initial invisibility period for a message that you are adding to a queue. For example, if you send a message with the DelaySeconds parameter set to 45, the message will not be visible to consumers for the first 45 seconds that the message resides in the queue. The default value for DelaySeconds is 0.






Question : The total size of all the messages that you send in a single call to SendMessageBatch cannot exceed
 :   The total size of all the messages that you send in a single call to SendMessageBatch cannot exceed
1. 256 KB
2. 1024 KB
3. 64 KB
4. There is practically no size limit in case of batch

Correct Answer : 1

Explanation:
You can send a message as large as 262,144 bytes (256 KB) with SendMessageBatch. However, the total size of all the messages that you send in a single call to SendMessageBatch cannot exceed 262,144 bytes (256 KB).



Related Questions


Question : In DynamoDB, ______ 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.
 : In DynamoDB,  ______ 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.
1. An Item
2. A row
3. A colum
4. A table


Question : To read an item from a DynamoDB table, use the __________ operation. You must provide the name of the table,
along with the primary key of the item you want.

 : To read an item from a DynamoDB table, use the __________ operation. You must provide the name of the table,
1. PullItem
2. ReadItem
3. GetItem
4. FetchItem


Question : Which of the following is correct operation for DynamoDB
 : Which of the following is correct operation for DynamoDB
1. PutItem
2. UpdateItem
3. DeleteItem
4. 1 and 2 Only
5. 1,2 and 3


Question : What if you exceed the GB limit for an item collection
 : What if you exceed the GB limit for an item collection
1. you will not be able to write new items
2. you will not be able to increase the size of existing items
3. you will not be able to decrease the size of existing items
4. 1 and 2
5. 1,2 and 3



Question : Your application utilizes Amazon S reduced redundancy storage and you have configured
the s3:ReducedRedundancyLostObject notification on your Amazon S3 Bucket. What services might you use
to create a "distributed" platform that replaces lost RRS objects on Amazon S3 automatically?

 : Your application utilizes Amazon S reduced redundancy storage and you have configured
1. SNS with a website subscription endpoint as the worker instance
2. SNS with an SMS subscription endpoint
3. Access Mostly Uused Products by 50000+ Subscribers
4. SNS with subscription endpoints


Question : What all is/are the advantage of using Amazon SQS?

 : What all is/are the advantage of using Amazon SQS?
1. SQS allows time-critical messages to be sent through a push mechanism eliminating the need to poll for data
2. SQS is used by distributed applications and can be used to decouple sending and receiving components without requiring each application component to be concurrently available
3. Access Mostly Uused Products by 50000+ Subscribers
4. None of the above