Premium

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



Question : If a message is retrieved from a queue in Amazon SQS, how long is the message inaccessible to other users by default?
  : If a message is retrieved from a queue in Amazon SQS, how long is the message inaccessible to other users by default?
1. 0 seconds
2. 1 hour
3. Access Mostly Uused Products by 50000+ Subscribers
4. forever
5. 30 seconds

Correct Answer : Get Lastest Questions and Answer :

Explanation: Visibility Timeout : The visibility timeout defines the number of seconds to wait for the worker to acknowledge the task before the message is redelivered to another worker. Also see caveats below.

This option is set via the BROKER_TRANSPORT_OPTIONS setting:

BROKER_TRANSPORT_OPTIONS = {'visibility_timeout': 3600} # 1 hour.
The default visibility timeout is 30 seconds.

General Recommendations for Visibility Timeout

The visibility timeout clock starts ticking once Amazon SQS returns the message. During that time, the component processes and deletes the message. But what happens if the component fails before deleting the message? If your system doesn't call DeleteMessage for that message before the visibility timeout expires, the message again becomes visible to the ReceiveMessage calls placed by the components in your system and it will be received again. If a message should only be received once, your system should delete it within the duration of the visibility timeout.

Each queue starts with a default setting of 30 seconds for the visibility timeout. You can change that setting for the entire queue. Typically, you'll set the visibility timeout to the average time it takes to process and delete a message from the queue. When receiving messages, you can also set a special visibility timeout for the returned messages without changing the overall queue timeout.

We recommend that if you have a system that produces messages that require varying amounts of time to process and delete, you create multiple queues, each with a different visibility timeout setting. Your system can then send all messages to a single queue that forwards each message to another queue with the appropriate visibility timeout based on the expected processing and deletion time for that message.





Question : You have multiple instances behind private and public subnets. None of the instances have an EIP assigned to them.
How can you connect them to the internet to download system updates?

  : You have multiple instances behind private and public subnets. None of the instances have an EIP assigned to them.
1. Assign EIP to each instance
2. Create a NAT instance
3. Access Mostly Uused Products by 50000+ Subscribers
4. Connect to a VPN

Correct Answer : Get Lastest Questions and Answer :

Explanation: You can use a network address translation (NAT) instance in a public subnet in your VPC to enable instances in the private subnet to initiate outbound traffic to the Internet, but prevent the instances from receiving inbound traffic initiated by someone on the Internet.






Question : What is an effective method to mitigate this?
  :  What is an effective method to mitigate this?
1. Store photos on an EBS volume of the web server
2. Remove public read access and use signed URLs with expiry dates.
3. Access Mostly Uused Products by 50000+ Subscribers
4. Block the IPs of the offending websites in Security Groups.

Correct Answer : Get Lastest Questions and Answer :

Explanation: You can distribute private content using a signed URL that is valid for only a short time-possibly for as little as a few minutes. Signed URLs that are valid for such a short period are good for distributing content on-the-fly to a user for a limited purpose, such as distributing movie rentals or music downloads to customers on demand. If your signed URLs will be valid for just a short period, you'll probably want to generate them automatically using an application that you develop. When the user starts to download an object or starts to play a media file, CloudFront compares the expiration time in the URL with the current time to determine whether the URL is still valid.

You can also distribute private content using a signed URL that is valid for a longer time, possibly for years. Signed URLs that are valid for a longer period are useful for distributing private content to known users, such as distributing a business plan to investors or distributing training materials to employees. You can develop an application to generate these longer-term signed URLs for you





Related Questions


Question : Being a HadoopExam.com AWS Developer you are launching an EC instance under the free usage tier from the AMI with a snapshot size of GB.
How can you launch the instance under the free usage tier?
 : Being a HadoopExam.com AWS Developer you are launching an EC instance under the free usage tier from the AMI with a snapshot size of  GB.
1. Launch a micro instance, but do not store the data of more than 30 GB on the EBS storage.
2. Launch a micro instance.
3. Access Mostly Uused Products by 50000+ Subscribers
4. It is not possible to have this instance under the free usage tier.


Question : Being a HadoopExam.com AWS Developer you are assigning a tag to an instance, which of the below mentioned options is not a valid tag key/value pair?
 : 	 Being a HadoopExam.com AWS Developer you are assigning a tag to an instance, which of the below mentioned options is not a valid tag key/value pair?
1. Key: "Name :aws" Value: "instance@aws"
2. Key : "name@aws" Value:"aws:instance"
3. Access Mostly Uused Products by 50000+ Subscribers
4. Key : "aws" Value:"aws"


Question : Being a HadoopExam.com AWS Developer you have configured a security group with EC-CLASSIC. Which of the below mentioned statements is true?
 : Being a HadoopExam.com AWS Developer you have configured a security group with EC-CLASSIC. Which of the below mentioned statements is true?
1. By default all inbound traffic is enabled and all outbound traffic is disabled
2. By default all inbound traffic is disabled and all outbound traffic is enabled
3. Access Mostly Uused Products by 50000+ Subscribers
4. By default all inbound and outbound traffic is disabled


Question : Being a HadoopExam.com AWS Developer you have enabled versioning of a bucket.
Is it possible to store all the versions of the objects in RRS and the current version of the object in S3?
 : Being a HadoopExam.com AWS Developer you have enabled versioning of a bucket.
1. Yes, only if the life cycle rule is set
2. Yes
3. Access Mostly Uused Products by 50000+ Subscribers
4. No


Question : Being a HadoopExam.com AWS Developer you are exploring options to work with AWS S.
Which of the below mentioned statements does not help user with respect to AWS S3?
  : Being a HadoopExam.com AWS Developer you  are exploring options to work with AWS S.
1. The user can store a php file in AWS S3
2. The user can create a bucket with the same name as the user domain on S3
3. Access Mostly Uused Products by 50000+ Subscribers
4. The user can host a dynamic website with Cloudfront


Question : Being a HadoopExam.com AWS Developer you have enabled a static website with AWS S. The user already has index.html as a part of this bucket.
What difference will be there for the user while using this hosting feature?
  : Being a HadoopExam.com AWS Developer you have enabled a static website with AWS S. The user already has index.html as a part of this bucket.
1. Nothing. the user can always access index.html without the hosting feature
2. It helps the user to save some costs as it will not consider the I/O charges if website hosting is enabled
3. Access Mostly Uused Products by 50000+ Subscribers
4. The user can directly access the website using the region specific endpoint