AWS-02

87 Questions | Total Attempts: 381

SettingsSettingsSettings
Please wait...
AWS-02

Questions and Answers
  • 1. 
    An application requires a development environment (DEV) and production environment (PROD) for several years. The DEV instances will run for 10 hours each day during normal business hours, while the PROD instances will run 24 hours each day. A solutions architect needs to determine a compute instance purchase strategy to minimize costs. Which solution is the MOST cost-effective
    • A. 

      DEV with Spot Instances and PROD with On-Demand Instances

    • B. 

      DEV with On-Demand Instances and PROD with Spot Instances

    • C. 

      DEV with Scheduled Reserved Instances and PROD with Reserved Instances

    • D. 

      DEV with On-Demand Instances and PROD with Scheduled Reserved Instances

  • 2. 
    A company runs multiple Amazon EC2 Linux instances in a VPC with applications that use a hierarchical directory structure. The applications need to rapidly and concurrently read and write to shared storage. How can this be achieved?
    • A. 

      Create an Amazon EFS file system and mount it from each EC2 instance

    • B. 

      Create an Amazon S3 bucket and permit access from all the EC2 instances in the VPC

    • C. 

      Create a file system on an Amazon EBS Provisioned IOPS SSD (101) volume. Attach the volume to all the EC2 instances

    • D. 

      Create file systems on Amazon EBS volumes attached to each EC2 instance. Synchronize the Amazon EBS volumes across the different EC2 instances

  • 3. 
    A solutions architect observes that a nightly batch processing job is automatically scaled up for 1 hour before the desired Amazon EC2 capacity is reached. The peak capacity is the same every night and the batch jobs always start at 1 AM. The solutions architect needs to find a cost-effective solution that will allow for the desired EC2 capacity to be reached quickly and allow the Auto Scaling group to scale down after the batch jobs are complete. What should the solutions architect do to meet these requirements?
    • A. 

      Increase the minimum capacity for the Auto Scaling group

    • B. 

      Increase the maximum capacity for the Auto Scaling group.

    • C. 

      Configure scheduled scaling to scale up to the desired compute level

    • D. 

      Change the scaling policy to add more EC2 instances during each scaling operation

  • 4. 
    A Solutions Architect must design a web application that will be hosted on AWS, allowing users to purchase access to premium, shared content that is stored in an S3 bucket. upon payment consent will be available for download for 14 days before the user is denied access. Which of the following would be the LEAST complicated implementation?
    • A. 

      Use an Amazon CloudFront distribution with an origin access identity (OAI). Configure the distribution with an Amazon S3 origin to provide access to the file through signed URLs. Design a Lambda function to remove data that is older than 14 days

    • B. 

      Use an S3 bucket and provide direct access to the tile Design the application to track purchases in a DynamoDB table. Configure a Lambda function to remove data that is older than 14 days based on a query to Amazon DynamoDB.

    • C. 

      Use an Amazon CloudFront distribution with an OAI. Configure the distribution with an Amazon S3 origin to provide access to the file through signed URLs. Design the application to sot an expiration of 14 days for the URL

    • D. 

      Use an Amazon CloudFront distribution with an OAI. Configure the distribution with an Amazon S3 origin to provide access to the file through signed URLs. Design the application to set an expiration of 60 minutes for the URL and recreate the URL as necessary

  • 5. 
    A solutions architect is designing a mission-critical web application. It will consist of Amazon EC2 instances behind an Application Load Balancer and a relational database. The database should be highly available and fault tolerant. Which database implementations will meet these requirements? (Choose two.)
    • A. 

      Amazon Redshift

    • B. 

      Amazon DynamoDB

    • C. 

      Amazon RDS for MySQL

    • D. 

      MySQL-compatible Amazon Aurora Multi-AZ

    • E. 

      Amazon RDS for SQL Server Standard Edition Multi-AZ

  • 6. 
    A company's web application is running on Amazon EC2 instances behind an Application Load Balancer. The company recently changed its policy, which now requires the application to be accessed from one specific country only. Which configuration will meet this requirement?
    • A. 

      Configure the security group for the EC2 instances

    • B. 

      Configure the security group on the Application Load Balancer

    • C. 

      Configure AWS WAF on the Application Load Balancer in a VPC.

    • D. 

      Configure the network ACL for the subnet that contains the EC2 instances.

  • 7. 
    A company has an Amazon EC2 instance running on a private subnet that needs to access a public websites to download patches and updates. The company does not want external websites to see the EC2 instance IP address or initiate connection to it. How can a solution architect achieve this objective?
    • A. 

      Create a site-to-site VPN connection between the private subnet and the network in which the public site is deployed

    • B. 

      Create a NAT gateway in a public subnet. Route outbound traffic from the private subnet through the NAI gateway

    • C. 

      Create a network ACL for the private subnet where the EC2 instance deployed only allows access from the IP address range of the public website

    • D. 

      Create a security group that only allows connections from the IP address range of the public website. Attach the security group to the EC2 instance.

  • 8. 
    A company must migrate 20 TB of data from a data center to the AWS Cloud within 30 days. The company's network bandwidth is limited to 15 Mbps and cannot exceed 70% utilization. What should a solutions architect do to meet these requirements?
    • A. 

      Use AWS Snowball

    • B. 

      Use AWS DataSync

    • C. 

      Use a secure VPN connection

    • D. 

      Use Amazon S3 Transfer Acceleration

  • 9. 
    A company has a website running on Amazon EC2 instances across two Availability Zones. The company is expecting spikes in traffic on specific holidays, and wants to provide a consistent user experience. How can a solutions architect meet this requirement
    • A. 

      Use step scaling

    • B. 

      Use simple scaling

    • C. 

      Use lifecycle hooks

    • D. 

      Use scheduled scaling.

  • 10. 
    An ecommerce company is running a multi-tier application on AWS. The front-end and backend tiers both run on Amazon EC2, and the database runs on Amazon RDS for MySQL. The backend tier communicates with the RDS instance. There are frequent calls to return identical datasets from the database that are causing performance slowdowns. Which action should be taken to improve the performance of the backend?
    • A. 

      Implement Amazon SNS to store the database calls

    • B. 

      Implement Amazon ElastiCache to cache the large datasets

    • C. 

      Implement an RDS for MySQL read replica to cache database calls

    • D. 

      Implement Amazon Kinesis Data Firehose to stream the calls to the database

  • 11. 
    A company has an on-premises data center that is running out of storage capacity. The company wants to migrate its storage infrastructure to AWS while minimizing bandwidth costs. The solution must allow for immediate retrieval of data at no additional cost. How can these requirements be met?
    • A. 

      Deploy Amazon S3 Glacier Vault and enable expedited retrieval. Enable provisioned retrieval capacity for the workload

    • B. 

      Deploy AWS Storage Gateway using cached volumes. Use Storage Gateway to store data in Amazon S3 while retaining copies of frequently accessed data subsets locally

    • C. 

      Deploy AWS Storage Gateway using stored volumes to store data locally. Use Storage Gateway to asynchronously back up point-in-time snapshots of the data to Amazon S3

    • D. 

      Deploy AWS Direct Connect to connect with the on-premises data center. Configure AWS Storage Gateway to store data locally. Use Storage Gateway to asynchronously back up pointin- time snapshots of the data to Amazon S3.

  • 12. 
    A company is processing data on a daily basis. The results of the operations are stored in an Amazon S3 bucket, analyzed daily for one week, and then must remain immediately accessible for occasional analysis. What is the MOST cost-effective storage solution alternative to the current configuration?
    • A. 

      Configure a lifecycle policy to delete the objects after 30 days

    • B. 

      Configure a lifecycle policy to transition the objects to Amazon S3 Glacier after 30 days

    • C. 

      Configure a lifecycle policy to transition the objects to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) after 30 days

    • D. 

      Configure a lifecycle policy to transition the objects to Amazon S3 One Zone-Infrequent Access (S3 One Zone-IA) after 30 days

  • 13. 
    A company delivers files in Amazon S3 to certain users who do not have AWS credentials. These users must be given access for a limited lime. What should a solutions architect do to securely meet these requirements?
    • A. 

      Enable public access on an Amazon S3 bucket.

    • B. 

      Generate a pre signed URL to share with the users

    • C. 

      Encrypt files using AWS KMS and provide keys to the users

    • D. 

      Create and assign IAM roles that will grant GetObject permissions to the users

  • 14. 
    A company wants to run a hybrid workload for data processing. The data needs to be accessed by on-premises applications for local data processing using an NFS protocol, and must also be accessible from the AWS Cloud for further analytics and batch processing. Which solution will meet these requirements?
    • A. 

      Use an AWS Storage Gateway file gateway to provide file storage to AWS, then perform analytics on this data in the AWS Cloud

    • B. 

      Use an AWS storage Gateway tape gateway to copy the backup of the local data to AWS, then perform analytics on this data in the AWS cloud

    • C. 

      Use an AWS Storage Gateway volume gateway in a stored volume configuration to regularly take snapshots of the local data, then copy the data to AWS

    • D. 

      Use an AWS Storage Gateway volume gateway in a cached volume configuration to back up all the local storage in the AWS cloud, then perform analytics on this data in the cloud

  • 15. 
    A company plans to store sensitive user data on Amazon S3. Internal security compliance requirement mandate encryption of data before sending it to Amazon S3. What should a solution architect recommend to satisfy these requirements?
    • A. 

      Server-side encryption with customer-provided encryption keys

    • B. 

      Client-side encryption with Amazon S3 managed encryption keys

    • C. 

      Server-side encryption with keys stored in AWS key Management Service (AWS KMS)

    • D. 

      Client-side encryption with a master key stored in AWS Key Management Service (AWS KMS)

  • 16. 
    A solutions architect is moving the static content from a public website hosted on Amazon EC2 instances to an Amazon S3 bucket. An Amazon CloudFront distribution will be used to deliver the static assets. The security group used by the EC2 instances restricts access to a limited set of IP ranges. Access to the static content should be similarly restricted. Which combination of steps will meet these requirements? (Choose two.)
    • A. 

      Create an origin access identity (OAI) and associate it with the distribution. Change the permissions in the bucket policy so that only the OAI can read the objects

    • B. 

      Create an AWS WAF web ACL that includes the same IP restrictions that exist in the EC2 security group. Associate this new web ACL with the CloudFront distribution

    • C. 

      Create a new security group that includes the same IP restrictions that exist in the current EC2 security group. Associate this new security group with the CloudFront distribution

    • D. 

      Create a new security group that includes the same IP restrictions that exist in the current EC2 security group. Associate this new security group with the S3 bucket hosting the static content.

  • 17. 
    A company is investigating potential solutions that would collect, process, and store users' service usage data. The business objective is to create an analytics capability that will enable the company to gather operational insights quickly using standard SQL queries. The solution should be highly available and ensure Atomicity, Consistency, Isolation, and Durability (ACID) compliance in the data tier. Which solution should a solutions architect recommend
    • A. 

      Use Amazon DynamoDB transactions

    • B. 

      Create an Amazon Neptune database in a Multi AZ design

    • C. 

      Use a fully managed Amazon RDS for MySQL database in a Multi-AZ design

    • D. 

      Deploy PostgreSQL on an Amazon EC2 instance that uses Amazon EBS Throughput Optimized HDD storage

  • 18. 
    A company recently launched its website to serve content to its global user base. The company wants to store and accelerate the delivery of static content to its users by leveraging Amazon CloudFront with an Amazon EC2 instance attached as its origin. How should a solutions architect optimize high availability for the application?
    • A. 

      Use [email protected] for CloudFront

    • B. 

      Use Amazon S3 Transfer Acceleration for CloudFront.

    • C. 

      Configure another EC2 instance in a different Availability Zone as part of the origin group

    • D. 

      Configure another EC2 instance as part of the origin server cluster in the same Availability Zone.

  • 19. 
    An application running on an Amazon EC2 instance in VPC-A needs to access files in another EC2 instance in VPC-B. Both are in separate. AWS accounts. The network administrator needs to design a solution to enable secure access to EC2 instance in VPC-B from VPC-A. The connectivity should not have a single point of failure or bandwidth concerns. Which solution will meet these requirements?
    • A. 

      Set up a VPC peering connection between VPC-A and VPC-B.

    • B. 

      Set up VPC gateway endpoints for the EC2 instance running in VPC-B.

    • C. 

      Attach a virtual private gateway to VPC-B and enable routing from VPC-A.

    • D. 

      Create a private virtual interface (VIF) for the EC2 instance running in VPC-B and add appropriate routes from VPC-B.

  • 20. 
    A company currently stores symmetric encryption keys in a hardware security module (HSM). A solution architect must design a solution to migrate key management to AWS. The solution should allow for key rotation and support the use of customer provided keys. Where should the key material be stored to meet these requirements?
    • A. 

      Amazon S3

    • B. 

      AWS Secrets Manager

    • C. 

      AWS Systems Manager Parameter store

    • D. 

      AWS Key Management Service (AWS KMS)

  • 21. 
    A recent analysis of a company's IT expenses highlights the need to reduce backup costs. The company's chief information officer wants to simplify the on- premises backup infrastructure and reduce costs by eliminating the use of physical backup tapes. The company must preserve the existing investment in the on- premises backup applications and workflows. What should a solutions architect recommend?
    • A. 

      Set up AWS Storage Gateway to connect with the backup applications using the NFS interface.

    • B. 

      Set up an Amazon EFS file system that connects with the backup applications using the NFS interface.

    • C. 

      Set up an Amazon EFS file system that connects with the backup applications using the iSCSI interface

    • D. 

      Set up AWS Storage Gateway to connect with the backup applications using the iSCSIvirtual tape library (VTL) interface

  • 22. 
    A company hosts an application on an Amazon EC2 instance that requires a maximum of 200 GB storage space. The application is used infrequently, with peaks during mornings and evenings. Disk I/O varies, but peaks at 3,000 IOPS. The chief financial officer of the company is concerned about costs and has asked a solutions architect to recommend the most cost-effective storage option that does not sacrifice performance. Which solution should the solutions architect recommend?
    • A. 

      Amazon EBS Cold HDD (sc1)

    • B. 

      Amazon EBS General Purpose SSD (gp2)

    • C. 

      Amazon EBS Provisioned IOPS SSD (io1)

    • D. 

      Amazon EBS Throughput Optimized HDD (st1)

  • 23. 
    A company's application hosted on Amazon EC2 instances needs to access an Amazon S3 bucket. Due to data sensitivity, traffic cannot traverse the internet How should a solutions architect configure access?
    • A. 

      Create a private hosted zone using Amazon Route 53

    • B. 

      Configure a VPC gateway endpoint for Amazon S3 in the VPC.

    • C. 

      Configure AWS Private Link between the EC2 instance and the S3 bucket

    • D. 

      Set up a site-to-site VPN connection between the VPC and the S3 bucket.

  • 24. 
    A company has two applications it wants to migrate to AWS. Both applications process a large set of files by accessing the same files at the same time. Both applications need to read the files with low latency. Which architecture should a solutions architect recommend for this situation?
    • A. 

      Configure two AWS Lambda functions to run the applications. Create an Amazon EC2 instance with an instance store volume to store the data.

    • B. 

      Configure two AWS Lambda functions to run the applications. Create an Amazon EC2 instance with an Amazon Elastic Block Store (Amazon EBS) volume to store the data.

    • C. 

      Configure one memory optimized Amazon EC2 instance to run both applications simultaneously. Create an Amazon Elastic Block Store (Amazon EBS) volume with Provisioned IOPS to store the data

    • D. 

      Configure two Amazon EC2 instances to run both applications. Configure Amazon Elastic File System (Amazon EFS) with General Purpose performance mode and Bursting Throughput mode to store the data

  • 25. 
    An ecommerce company has noticed performance degradation of its Amazon RDS based web application. The performance degradation is attributed to an increase in the number of read-only SQL queries triggered by business analysts. A solution architect needs to solve the problem with minimal changes to the existing web application. What should the solution architect recommend?
    • A. 

      Export the data to Amazon DynamoDB and have the business analysts run their queries

    • B. 

      Load the data into Amazon ElastiCache and have the business analysts run their queries

    • C. 

      Create a read replica of the primary database and have the business analysts run their queries.

    • D. 

      Copy the data into an Amazon Redshift cluster and have the business analysts run their queries.

Back to Top Back to top