Font size
WorksheetsSP15-Quiz9 (EC2)
Total questions: 15
Worksheet time: 13mins
A company is storing an access key (access key ID and secret access key) in a text file on a custom AMI. The company uses the access key to access S3 bucket from instances created from the AMI. The security team has mandated a more secure solution.
A. Put the access key in an S3 bucket, and retrieve the access key on boot from the instance.
B. Pass the access key to the instances through instance user data.
C. Obtain the access key from a key server launched in a private subnet.
D. Create an IAM role with permissions to access the bucket and launch all instances with the new role.
Company salespeople upload their sales figures daily. A Solutions Architect needs a durable storage solution for these documents that also protects against users accidentally deleting important documents.
A. Store data in an EBS volume and create snapshots once a week.
B. Store data in an S3 bucket and enable versioning.
C. Store data in two S3 buckets in different AWS regions.
D. Store data on EC2 instance storage.
A Solutions Architect is designing a critical business application with a relational database that runs on an EC2 instance. It requires a single EBS volume that can support up to 16,000 IOPS.
A. EBS Provisioned IOPS SSD
B. EBS Throughput Optimized HDD
C. EBS General Purpose SSD
D. EBS Cold HDD
An application saves the logs to an S3 bucket. A user wants to keep the logs for one month for troubleshooting purposes, and then purge the logs.
What feature will enable this?
A. Adding a bucket policy on the S3 bucket.
B. Configuring lifecycle configuration rules on the S3 bucket.
C. Creating an IAM policy for the S3 bucket.
D. Enabling CORS on the S3 bucket.
Data stored in EC2 Instance store volumes are not persistent for following actions. (Select all that apply)
EC2 Stop
EC2 Termination
Hardware failures
Reboot
An online health record system that provides centralized health records of all citizens has been migrated to AWS. The system is hosted in one large EBS-backed EC2 instance which hosts both its web server and database. Which of the following does not happen when you stop a running EBS-backed EC2 instance?
A. Any Amazon EBS volume remains attached to the instance, and their data persists.
B. Any EC2 Instance Store Volumes remain attached to the instance, and their data persists.
C. Any data stored in the RAM of the underlying host computer or the instance store volumes of the host computer are gone.
D. In most cases, the instance is migrated to a new underlying host computer when it started back up.
You are a new Solutions Architect working for a financial company. Your manager wants to have the ability to automatically transfer obsolete data from their S3 bucket to a low cost storage system in AWS. What is the best solution you can provide to them?
A. Use an EC2 instance and a scheduled job to transfer the obsolete data from their S3 location to Amazon Glacier.
B. Use Lifecycle Policies in S3 to move obsolete data to Glacier.
C. Use AWS SQS.
D. Use AWS S3 Replication policy.
An application which is currently hosted on an On-Demand EC2 instance with an attached EBS volume is scheduled to be decommissioned. Which of the following does not happen to your data when the instance is terminated?
A. For EBS-backed instances, the root volume is persisted by default.
B. By default, EBS volumes that are created and attached to an instance at launch are deleted when that instance is terminated.
C. For EBS-backed instances, the root volume is deleted by default.
D. For Instance Store-Backed AMI, all the data is deleted.
YOUR COMPANY IS CREATING A PHOTO SHARING APP. ONE OF THE REQUIREMENTS IS THAT USERS CAN UPLOAD AND STORE MULTIPLE REVISIONS OF THE SAME PHOTO. WHAT STORAGE SOLUTION WOULD BE BEST PLACED TO MEET THIS REQUIREMENT?
S3
EFS
EBS
EC2
WHICH FILE STORAGE SOLUTION WOULD ALLOW YOU TO SHARE DATA BETWEEN EC2 INSTANCES ?
EBS
EFS
S3
Storage Gateway
YOU HAVE A SITUATION WHERE YOUR CLIENT WANTS TO BACKUP AND ARCHIVE THOUSANDS OF VIDEO FILES. THEY MAY NEED TO BE RETRIEVED BUT IT DOESN’T MATTER IF THE RETRIEVAL PROCESS TAKES HOURS. WHICH STORAGE SOLUTION WOULD BE MOST APPROPRIATE ON A BUDGET.
S3
S3 One-Zone IA
S3 Infrequent Access
Galcier
WHICH EBS VOLUME TYPE IS MOST APPROPRIATE FOR RUNNING AN EC2 HOSTED DATABASE ON?
A. EBS Provisioned IOPS SSD (io1)
B. EBS General Purpose SSD (gp2)*
C. Throughput Optimized HDD (st1)
D. Cold HDD (sc1)
Your company security team does not allow using port 22 (SSH) in the Security Group for your EC2 Instances. Does AWS provide a way to login to EC2 instance console without port 22?
Yes, by assigning different port
Yes, by using SSH keypairs
Yes, AWS SSM Sessions Manager
No, it is not possible. Use Immutable infrastructure.
What are one of the main requirements for AWS Sessions Manager to work properly?
A. Making sure userdata script has necessary enable and start commands
B. IAM role permissions of the EC2 instance
C. IAM user Access and Secret Keys
Why AWS charges fee for unused Elastic IPs?
A. To ensure efficient use of Elastic IP addresses
B. Because AWS Charges for anything that is unused
C. Fee usually is not for IP but underlying Network card
D. Fee is usually for one time allocation fee
