Question : Being a HadoopExam.com AWS Developer you are creating an object in the EU region. The content of the object is the value "colour=red". If the user tries to read the value of the object 1 minute after it was uploaded, what will S3 return? 1. It will return error 404 object not found 2. It may return an error or return the value "colour=red" 3. Access Mostly Uused Products by 50000+ Subscribers 4. It will return "colour=red"
Explanation: The AWS S3 EU region supports read-after-write consistency for PUTS of new objects in the Amazon S3 bucket and eventual consistency for overwrite PUTS and DELETES. In this case since it is a new request, the object will be available for the user to view.
Question : Being a HadoopExam.com AWS Developer you have created an bucket with the name "hadoopexam" in the US East region. The other AWS account user is trying to create a bucket with the same name in the EU region. What will S3 do?
1. It will allow the other AWS owner to create since the region is different 2. It will throw an error saying naming criteria not met for EU region 3. Access Mostly Uused Products by 50000+ Subscribers 4. It will throw an error saying the requested bucket name is not available
Explanation: If a user has created an S3 bucket in one region, any other AWS account owner cannot create a bucket with the same name in any region.
Question : An IAM user is performing an operation on some other user's S bucket. What will S first check in this context? 1. Verifies if the IAM policy is available for the root account to provide permission to the other IAM users 2. Reject the request since the IAM user does not belong to the root account 3. Access Mostly Uused Products by 50000+ Subscribers 4. Verifies if the parent of the IAM user has granted sufficient permission
Explanation: If the IAM user is trying to perform a bucket operation, S3 will first verify whether the IAM user belongs to the same root account or another account. If it belongs to another AWS account, it will first verify whether the IAM user account's parent has provided sufficient permissions to perform such activities.
Note This topic is based on a Linux stack, but Windows stacks can also use Amazon ElastiCache (ElastiCache). For an example of how of how to use ElastiCache with a Windows instance, see ElastiCache as an ASP.NET Session Store. You can often improve application server performance by using a caching server to provide an in-memory key-value store for small items of data such as strings. Amazon ElastiCache is an AWS service that makes it easy to provide caching support for your application server, using either the Memcached or Redis caching engines. AWS OpsWorks provides built-in support for Memcached. However, if Redis better suits your requirements, you can customize your stack so that your application servers use ElastiCache Redis.
This topic walks you through basic process of providing ElastiCache Redis caching support for Linux stacks, using a Rails application server as an example. It assumes that you already have an appropriate Ruby on Rails application. For more information on ElastiCache, see What Is Amazon ElastiCache?.
Q: How is Amazon S3 data organized?
Amazon S3 is a simple key-based object store. When you store data, you assign a unique object key that can later be used to retrieve the data. Keys can be any string, and can be constructed to mimic hierarchical attributes.
: When should I use Amazon DynamoDB vs Amazon S3?
Amazon DynamoDB stores structured data, indexed by primary key, and allows low latency read and write access to items ranging from 1 byte up to 400KB. Amazon S3 stores unstructured blobs and suited for storing large objects up to 5 TB. In order to optimize your costs across AWS services, large objects or infrequently accessed data sets should be stored in Amazon S3, while smaller data elements or file pointers (possibly to Amazon S3 objects) are best saved in Amazon DynamoDB.
Q: What types of data structures does DynamoDB support? DynamoDB supports key-value and document data structures. Q: What is a key-value store? A key-value store is a database service that provides support for storing, querying and updating collections of objects that are identified using a key and values that contain the actual content being stored.
Question : While working with the S API you receive the error message: Not Found. What is the most likely cause for this error?