Question : HadoopExam Learning Resources has a root domain as www.hadoopexam.com and wants to serve all the requests for hadoopexam.com as well as for www.hadoopexam.com using AWS S3. How can the user achieve this? 1. Create two buckets with the name www.hadoopexam.com and hadoopexam.com and host a static website on both the buckets 2. Create two buckets with the name www.hadoopexam.com and hadoopexam.com and route requests from both the buckets to each other using S3 website hosting 3. Access Mostly Uused Products by 50000+ Subscribers 4. Create two buckets with the name www.hadoopexam.com and hadoopexam.comand route requests of one bucket to another using S3 website hosting
Explanation: : If the root domain is hadoopexam.com and the user wants to serve requests for both http://hadoopexam.com and http://www.hadoopexam.com, the user can create two S3 buckets named hadoopexam.com and www.hadoopexam.com, maintain the website contents in only one bucket, e.g., hadoopexam.com, and configure the other www.hadoopexam.com bucket to redirect all requests to hadoopexam.com bucket.
Question : Being a HadoopExam.com AWS Developer you have uploaded an object on S. Which of the below mentioned methodologies should be implemented by S3 to ensure the integrity of the data? 1. Archival 2. Intrinsic replication 3. Access Mostly Uused Products by 50000+ Subscribers 4. Encryption
Explanation: Amazon S3 regularly verifies the integrity of the data stored using checksums. If Amazon S3 detects data corruption, it is repaired using redundant data. In addition, Amazon S3 calculates checksums on all network traffic to detect corruption of data packets when storing or retrieving data.
Question : Being a HadoopExam.com AWS Developer you are updating an object in the Singapore region. The original content has the value "colour=red". The user updates the object with the content as "colour="white". 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 "colour=white" 2. It will return "colour=red" 3. Access Mostly Uused Products by 50000+ Subscribers 4. It will return an error saying that the object was not found
Explanation: The AWS S3 Singapore 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 overwrites, it may return the old or the new object.
logicalNameOfResource The logical name of the resource that contains the attribute you want.
attributeName The name of the resource-specific attribute whose value you want. See the resource's reference page for details about the attributes available for that resource type.
Return Value
The attribute value.
Example
This example returns a string containing the DNS name of the LoadBalancer with the logical name MyLB.
Describes one or more of the images (AMIs, AKIs, and ARIs) available to you. Images available to you include public images, private images that you own, and private images owned by other AWS accounts but for which you have explicit launch permissions.
Note Deregistered images are included in the returned results for an unspecified interval after deregistration.