Premium

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



Question : You have created a bucket called "hadoopexam" but you have not enabled versioning on an S bucket.
What will be the version ID of the object inside that bucket?
  : You have created a bucket called
1. Null
2. 0
3. Access Mostly Uused Products by 50000+ Subscribers
4. Blank

Correct Answer : Get Lastest Questions and Answer :

Explanation: S3 objects stored in the bucket before the user has set the versioning state have a version ID of null. When the user enables versioning, the objects in the bucket do not change and their ID remains null. If a null version is already in the bucket and you add another object with the same key, the added object overwrites the original null version.

If there are versioned objects in the bucket, the version you PUT becomes the current version of the object.






Question : You have been asked to create a static website hosting on an S bucket. What difference will there be when static website hosting is enabled?
  : You have been asked to create a static website hosting on an S bucket. What difference will there be when static website hosting is enabled?
1. It will not make any difference, but will help the user to configure the error page
2. It will provide the region specific website endpoint
3. Access Mostly Uused Products by 50000+ Subscribers
4. It will help the user identify this bucket as the website root to map with the domain

Correct Answer : Get Lastest Questions and Answer :

Explanation: You can host a static website on Amazon S3. On a static website, individual web pages include static content. They may also contain client-side scripts. By contrast, a dynamic website relies on server-side processing, including server-side scripts such as PHP, JSP, or ASP.NET. Amazon S3 does not support server-side scripting.

Note

Amazon Web Services (AWS) has resources for hosting dynamic websites. To learn more about website hosting on AWS, go to Websites and Website Hosting.

To host your static website, you configure an Amazon S3 bucket for website hosting and then upload your website content to the bucket. The website is then available at the region-specific website endpoint of the bucket:

.s3-website-.amazonaws.com

For a list of region specific website endpoints for Amazon S3, see Website Endpoints. For example, suppose you create a bucket called examplebucket in the US Standard region and configure it as a website. The following example URLs provide access to your website content:

This URL returns a default index document that you configured for the website.

http://examplebucket.s3-website-us-east-1.amazonaws.com/

This URL requests the photo.jpg object, which is stored at the root level in the bucket.

http://examplebucket.s3-website-us-east-1.amazonaws.com/photo.jpg

This URL requests the docs/doc1.html object in your bucket.

http://examplebucket.s3-website-us-east-1.amazonaws.com/docs/doc1.html

Using Your Own Domain

Instead of accessing the website by using an Amazon S3 website endpoint, you can use your own domain, such as example.com to serve your content. Amazon S3, in conjunction with Amazon Route 53, supports hosting a website at the root domain. For example if you have the root domain example.com and you host your website on Amazon S3, your website visitors can access the site from their browser by typing either http://www.example.com or http://example.com. For an example walkthrough, see Example: Setting Up a Static Website Using a Custom Domain. To host a static website, the user needs to configure an Amazon S3 bucket for website hosting and then upload the website contents to the bucket. The website is then available at the region-specific website endpoint of the bucket.







Question : You have been asked to create a static website hosting on an S bucket. Which of the below mentioned parameters you can not configure in such case?
  : You have been asked to create a static website hosting on an S bucket. Which of the below mentioned parameters you can not configure in such case?
1. Conditional redirection on object name
2. Conditional error on object name
3. Access Mostly Uused Products by 50000+ Subscribers
4. Error document

Correct Answer : Get Lastest Questions and Answer :

Explanation: To configure a bucket for static website hosting, you add a website configuration to your bucket. The configuration includes the following information:

Index document

When you type a URL such as http://example.com you are not requesting a specific page. In this case the web server serves a default page, for the directory where the requested website content is stored. This default page is referred as index document, and most of the time it is named index.html. When you configure a bucket for website hosting, you must specify an index document. Amazon S3 returns this index document when requests are made to the root domain or any of the subfolders. For more information, see Index Documents and Folders .

Error document

If an error occurs, Amazon S3 returns an HTML error document. For 4XX class errors, you can optionally provide your own custom error document, in which you can provide additional guidance to your users. For more information, see Custom Error Document Support .

Redirects all requests

If your root domain is example.com and you want to serve requests for both http://example.com and http://www.example.com, you can create two buckets named example.com and www.example.com, maintain website content in only one bucket, say, example.com, and configure the other bucket to redirect all requests to the example.com bucket.

Advanced conditional redirects

You can conditionally route requests according to specific object key names or prefixes in the request, or according to the response code. For example, suppose that you delete or rename an object in your bucket. You can add a routing rule that redirects the request to another object. Suppose that you want to make a folder unavailable. You can add a routing rule to redirect the request to another page, which explains why the folder is no longer available. You can also add a routing rule to handle an error condition by routing requests that return the error to another domain, where the error will be processed. To host a static website, the user needs to configure an Amazon S3 bucket for website hosting and then upload the website contents to the bucket. The user can configure the index, error document as well as configure the conditional routing of on object name.






Related Questions


Question : Select the appropriate commands which allows the user to share the AMI with his peers using the AWS EC CLI?
  : Select the appropriate commands which allows the user to share the AMI with his peers using the AWS EC CLI?
1. ec2-modify-image-attribute
2. ec2-share-image-account
3. Access Mostly Uused Products by 50000+ Subscribers
4. ec2-share-image-public


Question : You have launched an EC instance and installed a website with domain "www.AcmeShell.com" with the Apache webserver.
The webserver is running however , you are not able to access the website from the internet. What can be the possible reason for this failure?
  : You have launched an EC instance and installed a website with domain
1. The Apache website cannot be accessed from the internet.
2. The instance is not configured with the proper key-pairs.
3. Access Mostly Uused Products by 50000+ Subscribers
4. Instance is not configured with an elastic IP.


Question : You have created a bucket called "hadoopexam" and you are trying to find the state of an S bucket with respect to versioning.
Which of the below mentioned states AWS will not return when queried?
  : You have created a bucket called
1. versioning-suspended
2. versioning-enabled
3. Access Mostly Uused Products by 50000+ Subscribers
4. unversioned


Question : You have created a bucket called "hadoopexam" but you have not enabled versioning on an S bucket.
What will be the version ID of the object inside that bucket?
  : You have created a bucket called
1. Null
2. 0
3. Access Mostly Uused Products by 50000+ Subscribers
4. Blank


Question : You have been asked to create a static website hosting on an S bucket. What difference will there be when static website hosting is enabled?
  : You have been asked to create a static website hosting on an S bucket. What difference will there be when static website hosting is enabled?
1. It will not make any difference, but will help the user to configure the error page
2. It will provide the region specific website endpoint
3. Access Mostly Uused Products by 50000+ Subscribers
4. It will help the user identify this bucket as the website root to map with the domain


Question : You have been asked to create a static website hosting on an S bucket. Which of the below mentioned parameters you can not configure in such case?
  : You have been asked to create a static website hosting on an S bucket. Which of the below mentioned parameters you can not configure in such case?
1. Conditional redirection on object name
2. Conditional error on object name
3. Access Mostly Uused Products by 50000+ Subscribers
4. Error document