Chapter 4
Domain 4: Design Cost-Optimized Architectures

  1. ✓ Subdomain: 4.1 Determine how to design cost-optimized storage.
  2. ✓ Subdomain: 4.2 Determine how to design cost-optimized compute.

Review Questions

  1. You have a data analysis application that uses high compute instances along with RDS to do biological analysis on large datasets. The computations are not time sensitive and can be run anytime throughout the day. However, because of the high compute resources required, the processing is quite expensive. What could you do to defray these costs? (Choose two.)

    1. Purchase reserved instances and pay entirely up front for the instance usage charges.
    2. Use the spot market, setting a bid price lower than the current on-demand pricing.
    3. Lower the instance class to a less costly class and allow the processing to run longer at lower per-instance costs.
    4. Contact AWS and ask for discounted instance pricing based on your recurring usage.
  2. Which of the following are valid payment options for reserved instances? (Choose two.)

    1. Actual usage pricing
    2. Predictive pricing
    3. All up-front pricing
    4. Nothing up-front pricing
  3. How do you move a reserved instance from one region to another?

    1. Shut the instance down, change its region via the console or CLI, and restart the instance.
    2. Contact your AWS billing resource to manually move the instance and its associated billing.
    3. Make a snapshot of the instance, copy the snapshot to the new region, and start the instance from the snapshot.
    4. You cannot move reserved instances across regions.
  4. Which of the following allows you the least expensive access to compute resources?

    1. On-demand instances
    2. Reserved instances
    3. Spot instances
    4. Dedicated hosts
  5. Which of the following are not reasons to select an on-demand instance? (Choose two.)

    1. Applications with short-term, spiky workloads
    2. Applications that have flexible start and end times
    3. Applications with steady-state usage
    4. Applications being developed or tested on EC2 for the first time
  6. Which of the following are reasons to select a spot instance? (Choose two.)

    1. Applications with short-term, spiky workloads
    2. Applications that have flexible start and end times
    3. Applications with steady-state usage
    4. Applications that are only feasible at very low compute prices
  7. Which of the following are not reasons to select a reserved instance? (Choose two.)

    1. Applications that may require reserved capacity
    2. Applications with steady-state usage
    3. Users with urgent computing needs for large amounts of additional capacity
    4. Users that cannot make any up-front payment or long-term commitment
  8. Which of the following are reasons to select the S3 standard storage class? (Choose two.)

    1. Need for high durability
    2. Need for highest available throughput
    3. Infrequent access of objects
    4. Objects can easily be re-created if lost.
  9. You are the architect for a web application that exists on a cluster of EC2 instances all within an Auto Scaling group. During periods of high activity, the group scales up— adding instances—and then quickly scales back down. However, this occurs multiple times within a two-hour window, incurring significant costs. How could you reduce costs while ensuring that demand is still met? (Choose two.)

    1. Modify the Auto Scaling group’s cool-down timers.
    2. Modify the Auto Scaling group to use scheduled scaling.
    3. Lower the CloudWatch alarm threshold that causes the Auto Scaling group to scale up.
    4. Modify the CloudWatch alarm period that causes the Auto Scaling group to scale down.
  10. Your company needs a storage solution that can support millions of customers accessing billing data. The data should be instantly accessible for users, but individual bills are not accessed that often. What is the most cost-efficient storage for this use case?

    1. Glacier with expedited retrieval
    2. S3 with Transfer Acceleration
    3. Standard S3
    4. S3-IA
  11. Is the S3-IA storage class less expensive than S3?

    1. Yes
    2. No
    3. Their costs are identical.
    4. It depends on how the storage class is used.
  12. You have a website running on a fleet of EC2 instances behind an ELB. You also have an Auto Scaling group running across multiple availability zones. The instances are serving files from an EFS file system, but you are incurring lag and significant cost from serving these files from disk over and over. What would you recommend as a solution for reducing costs while still handling high traffic without degradation?

    1. Move the files into S3 standard.
    2. Use Elastic Transcoder to reduce the file sizes.
    3. Cache the files using CloudFront.
    4. Use reserved EC2 instances instead of on-demand instances.
  13. You have a large archive of documents that must be backed up. The documents will be accessed very infrequently, if at all. However, when the documents are accessed, they must be delivered within 10 minutes of a retrieval request. What is the most cost-effective option for storing these documents?

    1. S3
    2. S3-IA
    3. Glacier
    4. Glacier with expedited retrieval
  14. Your application has a 200 GB database running on an EC2 instance. You cannot move the database to RDS because of a custom spatial plug-in. The application is currently peaking in the morning and the evening, but the peaks are small and usage throughout the day is minimal. You need to ensure solid performance but keep costs low. What storage type would you use?

    1. EFS
    2. EBS with a General Purpose SSD
    3. EBS with a provisioned IOPS SSD
    4. EBS with a magnetic HDD
  15. Which EBS volume type is most appropriate for use with a large database workload?

    1. EBS with a throughput optimized HDD
    2. EBS with a General Purpose SSD
    3. EBS with a provisioned IOPS SSD
    4. EBS with a magnetic HDD
  16. Which of the following is the least expensive EBS volume type?

    1. Throughput optimized HDD
    2. General Purpose SSD
    3. Provisioned IOPS SSD
    4. Cold HDD
  17. Your application currently stores all its data on EBS volumes. You want to ensure that these volumes are backed up durably. However, you also want to use as few different managed services as possible in order to keep backup costs low. What option would you recommend?

    1. Take regular EBS snapshots manually.
    2. Set up a Lambda function to take EBS snapshots and trigger the function through CloudWatch alarms.
    3. Create a script to copy the EBS data to S3 and run it on an EC2 instance.
    4. Mirror data across two EBS volumes.
  18. You are the architect for a highly available and highly scalable accounting application. All transaction records in the application’s data stores must be available for immediate retrieval for three months, but then they should be purged to reduce storage costs. How can you most easily address this requirement?

    1. Store the transaction records on EBS and delete the volume after three months.
    2. Store the transaction records in S3 and use lifecycle management to delete the records after three months.
    3. Store the transaction records in Glacier and use lifecycle management to delete the records after three months.
    4. Store the transaction records in EBS and use lifecycle management to delete the records after three months.
  19. You have heavy load on an RDS data instance. You want to avoid the overhead and cost of upgrading the instance to a larger instance size. What other options should you consider? (Choose two.)

    1. RDS read replicas
    2. RDS Multi-AZ
    3. ElastiCache
    4. Kinesis
  20. You are in charge of storage for large datasets at a predictive analytics firm. You are tasked with minimizing storage costs. You need to store data 30–59 days old in a storage class that makes the data immediately available and data older than 60 days in a class that makes the data available within 10 hours. You want to use the least expensive classes available. Which two storage classes would you choose? (Choose two.)

    1. S3 standard
    2. S3 Infrequent Access
    3. S3 RRS
    4. Glacier
  21. You want to optimize performance and cost of your application by creating a placement group rather than hosting separate copies of your application in multiple availability zones. Across how many availability zones can a placement group span?

    1. One
    2. One or more
    3. Two or more
    4. Placement groups are not in availability zones.
  22. Across how many availability zones can a spread placement group be stretched?

    1. One
    2. One or more
    3. Two or more
    4. Placement groups are not in availability zones.
  23. How many instances can run in a single availability zone for a spread placement group?

    1. One
    2. Five
    3. Seven
    4. Nine
  24. Which of the following are advantages of a spread placement group over using non-grouped instances? (Choose two.)

    1. A spread placement group can span peered VPCs in the same region.
    2. A spread placement group is less expensive than the same number of on-demand instances not in a group.
    3. A spread placement group allows instances to talk with negligible network lag.
    4. A spread placement group reduces IO in an instance within that group.
  25. Which of the following statements about placement groups is false?

    1. A spread placement group can span peered VPCs in the same region.
    2. A clustered placement group has instances all in a single availability zone.
    3. A spread placement group allows instances to talk across regions without network lag.
    4. A clustered placement group involves fewer availability zones than a spread placement group.
  26. Which of the following actions incur costs within AWS? (Choose two.)

    1. Data ingress from the Internet
    2. Data egress to the Internet
    3. Transferring data across regions
    4. Transferring data from one instance to another within the same availability zone
  27. Which of the following costs the least?

    1. Retrieving a file from S3 to a local desktop client
    2. An instance retrieving data from S3 in the same region
    3. Uploading a file to S3 from a local desktop client
    4. An instance retrieving data from S3 in a different region
  28. Which of the following costs the least?

    1. Retrieving a file from S3 to a local desktop client
    2. An instance retrieving data from another instance in the same availability zone
    3. An instance storing data in S3 in a different region
    4. An instance retrieving data from S3 in a different region
  29. Which of the following might help reduce data transfer costs? (Choose two.)

    1. Set up CloudFront to cache content.
    2. Ensure that any instances communicating with other instances in the same region have private IP addresses.
    3. Set up an RDS instance with read replicas.
    4. Set up S3 buckets with versioning.
  30. Which of the following is not a level of AWS support?

    1. Developer
    2. Free tier
    3. Enterprise
    4. Business
  31. Which of the following is reduced as part of AWS’s total cost of ownership approach?

    1. Developer salaries
    2. DevOps salaries
    3. Capital expenditures
    4. Organizational head count
  32. Which of the following payment models does AWS employ to reduce total cost of ownership?

    1. Pay up front
    2. Pay-as-you-go
    3. Pay after use
    4. Quarterly pay
  33. Which of the following is not a key tenet of the AWS pricing philosophy?

    1. Pay-as-you-go
    2. Pay less when you reserve.
    3. Pay less per unit by using more.
    4. Pay more only when AWS grows.
  34. Which of the following is not a pricing model for instances?

    1. On demand
    2. Reserved
    3. Migration only
    4. Spot instance
  35. When calculating total cost of ownership, what instance pricing model does AWS suggest using?

    1. On demand
    2. Reserved
    3. Dedicated hardware
    4. Spot instance
  36. How does the cost of standard reserved instances compare with the cost of on-demand instances?

    1. Standard reserved instances cost significantly less than on-demand instances.
    2. Standard reserved instances cost about the same as on-demand instances.
    3. Standard reserved instances cost significantly more than on-demand instances.
    4. Standard reserved instances cost a little bit less than on-demand instances.
  37. Which of the following is not a valid payment option for reserved instances?

    1. No upfront
    2. Partial upfront
    3. Half upfront
    4. All upfront
  38. Which of the following is the least expensive payment model for reserved instances?

    1. No upfront
    2. Partial upfront
    3. All upfront
    4. They are all the same.
  39. Which of the following are valid terms for reserved instances? (Choose two.)

    1. Six months
    2. One year
    3. Two years
    4. Three years
  40. Which of the following are valid pricing models for EC2 instances? (Choose two.)

    1. Spot instances
    2. Spot market
    3. Dedicated hosts
    4. All upfront
  41. Which instance type is ideal for an application that has a flexible start and end time?

    1. Spot instances
    2. On-demand instances
    3. Dedicated hosts
    4. Reserved instances
  42. Which instance type is ideal for an application that suffers numerous spikes in usage at unpredictable times?

    1. Spot instances
    2. On-demand instances
    3. Dedicated hosts
    4. Reserved instances
  43. Which instance type is ideal for an application that has a long-running compute job that cannot be interrupted but also suffers from significant fluctuations in usage patterns?

    1. Spot instances
    2. On-demand instances
    3. Dedicated hosts
    4. Reserved instances
  44. Which of the following are valid ways to purchase dedicated hosts? (Choose two.)

    1. On-demand hourly
    2. All upfront
    3. On layaway
    4. As a reservation
  45. Which of the following are reasons to consider reserved instances? (Choose two.)

    1. You are running an application that involves lots of short-running compute jobs.
    2. You are running an application with steady-state usage.
    3. Your business is guaranteed to need cloud compute for at least the next 18 months.
    4. You are looking to minimize commitments to AWS.
  46. Which of the following is not a reason to consider spot instances?

    1. Your applications have flexible start and end times.
    2. Your applications can only run if compute costs are low because of CPU utilization.
    3. You expect to have significant compute needs and potentially a need for lots of additional capacity.
    4. You expect usage to increase dramatically in the evenings and need to support that usage.
  47. You have been brought in to introduce an organization to the cloud. They have several applications ideal for cloud hosting but do not want to make any up-front commitments. Further, they are concerned that the cloud will be “unreliable” so you need to ensure that applications run smoothly. What instance types would you recommend?

    1. Spot instances
    2. On-demand instances
    3. Dedicated hosts
    4. Reserved instances
  48. Which of the following are benefits to spot instances? (Choose two.)

    1. Applications can be paused and later resumed.
    2. Costs are reduced compared to on-demand pricing.
    3. The same hardware will be used for the life of an application.
    4. They can handle spikes in usage without issue.
  49. Which of the following offers the lowest pricing for storage (per GB)?

    1. S3 standard
    2. S3-IA
    3. S3 One Zone-IA
    4. Amazon Glacier
  50. Which of the following is not an actual S3 storage class?

    1. S3-SSE
    2. S3 Standard-IA
    3. S3 RRS
    4. Amazon Glacier
  51. Which of the following would not incur a charge?

    1. Distributing data via S3 signed URLs to an Internet client in the same region
    2. Distributing data via CloudFront to an Internet client in a different region
    3. Uploading data to S3 via a user’s web interface
    4. Transferring data from an EC2 instance to an instance in another region
  52. Which of the following would not incur a charge?

    1. Transferring data from S3 to CloudFront
    2. Distributing data via CloudFront to an Internet client in a different region
    3. Transferring data from an EC2 instance to an instance in another region
    4. Importing data to S3 via Transfer Acceleration
  53. What is the AWS free tier?

    1. A platform for experimenting with AWS that can never be in production
    2. A tier of AWS that allows limited access to AWS services at no cost
    3. A class of EC2 instances that never cost anything for unlimited compute
    4. A prepackaged suite of AWS services that can be used for web hosting at no cost
  54. What is the AWS marketplace?

    1. A market for products, many of which can run on the AWS free tier
    2. A market for prebuilt AMIs beyond the standard AWS offerings
    3. A market for plug-ins and trials of paid third-party AWS services
    4. All of these
  55. What of the following services is available in AWS free tier?

    1. DynamoDB
    2. AWS Lambda
    3. SNS and SQS
    4. All of these
  56. Which of the following is an AWS support plan?

    1. Standard
    2. Free
    3. Small teams
    4. Enterprise
  57. Which of the following AWS support plans offer 24/7 support? (Choose two.)

    1. Basic
    2. Developer
    3. Business
    4. Enterprise
  58. What is AWS Trusted Advisor?

    1. An AWS security service
    2. An online resource to help you reduce cost
    3. A logging tool to help you detect intrusions
    4. A performance tool to help you correctly size your Auto Scaling groups
  59. How many core Trusted Advisor checks does the Trusted Advisor tool provide?

    1. Three
    2. Four
    3. Five
    4. Nine
  60. Which of the following might be a recommendation from Trusted Advisor? (Choose two.)

    1. Turn on MFA for the root account.
    2. Turn off global access to an S3 bucket.
    3. Turn on Transfer Acceleration for S3.
    4. Turn on MFA Delete for S3.
  61. Which of the following is not an area in which Trusted Advisor makes recommendations?

    1. S3 bucket permissions
    2. IAM usage
    3. RDS public snapshots
    4. DNS usage
  62. Which of the following is not a category for which Trusted Advisor makes recommendations?

    1. Security
    2. Scalability
    3. Service limits
    4. Fault tolerance
  63. Which of the following are categories for which Trusted Advisor makes recommendations? (Choose two.)

    1. Performance
    2. Auto Scaling
    3. Caching
    4. Security
  64. Which of the following might be an area about which Trusted Advisor makes recommendations? (Choose two.)

    1. Idle load balancers
    2. Incorrect S3 storage class
    3. No MFA on root account
    4. Underuse of DNS records
  65. Which of the following are recommendations AWS makes to help you control your AWS costs? (Choose two.)

    1. Right-size your services to meet capacity at the lowest cost.
    2. Save money by reserving.
    3. Save money with on-demand resources.
    4. Buy high capacity and serve low capacity.
  66. Which of the following might be a means by which you could decrease AWS costs in any standard application stack?

    1. Use DynamoDB instead of RDS.
    2. Use Route 53 instead of non-AWS registrars.
    3. Use the spot market.
    4. Use dedicated host instances.
  67. What is AWS Cost Explorer?

    1. An analytics tool for evaluating instance usage
    2. An analytics tool for evaluating RDS usage
    3. An analytics tool for managing AWS costs over time
    4. An analytics tool for managing application deployments
  68. You want to anticipate your costs over the next year. Which of the following tools would you use?

    1. AWS Trusted Advisor
    2. AWS Cost Explorer
    3. AWS Cost Manager
    4. AWS Savings Advisor
  69. You want to determine how your instance class choices are affecting your overall AWS spending. Which tool would help?

    1. AWS Trusted Advisor
    2. AWS Cost Explorer
    3. AWS Auto Scaling groups
    4. AWS CloudTrail
  70. You want to set limits on how much is spent monthly on S3 storage. Which of the following tools would be helpful?

    1. AWS Trusted Advisor
    2. AWS Cost Explorer
    3. AWS Budgets
    4. AWS CloudFormation
  71. You want to cut off all access to your S3 buckets when a certain cost threshold is reached. Which tool allows you to do this?

    1. AWS Trusted Advisor
    2. AWS Cost Explorer
    3. AWS Budgets
    4. None of these
  72. You need to produce media files optimized for various device types to optimize costs associated with transferring and viewing media on those devices. What AWS service would you use?

    1. SWF
    2. Workspaces
    3. Elastic Transcoder
    4. Cost Explorer
  73. You want to reduce the maintenance costs of supporting Oracle on a fleet of EC2 instances. What service is well suited for offloading maintenance costs for Oracle database hosting?

    1. RDS
    2. EMR
    3. SWF
    4. Redshift
  74. You want to delay the cost of hiring a large DevOps team while prototyping application hosting in the cloud. What service allows you to deploy your code with minimal oversight?

    1. Elastic Beanstalk
    2. CloudFormation
    3. Elastic Transcoder
    4. JSON
  75. You are tasked with reducing cost in an organization that does several new application deployments every week. The company has a common stack of resources but is spending time each deployment re-creating this stack. What would help you reduce initial setup and deployment costs?

    1. Elastic Beanstalk
    2. CloudFormation
    3. AWS Trusted Adviso.
    4. Application load balancers
  76. You need to transfer 50 TB of data into S3 and want to avoid lengthy network exchanges and network saturation. What option would provide you with inexpensive data transfer at a large scale?

    1. Storage Gateway
    2. S3 Transfer Acceleration
    3. Glacier
    4. Snowball
  77. You want to take advantage of a large data store on premises that is already in use. How can you use this local storage while still interfacing with an additional cloud-based storage system and cloud-hosted EC2 instances?

    1. Storage Gateway
    2. S3 Transfer Acceleration
    3. Glacier
    4. Snowball
  78. You need to transfer several petabytes of data into AWS at the lowest possible costs. What AWS services could help?

    1. Large Data Transfer Service
    2. S3 Transfer Acceleration
    3. Snowball
    4. CloudFront
  79. You need an analytics solution to perform business intelligence on your large data store. What AWS managed service can provide you with OLAP that reduces cost at scale?

    1. RDS
    2. Oracle on an EC2 fleet with provisioned IOPS EBS volumes
    3. Memcache
    4. Redshift
  80. You are currently running a fleet of 12 EC2 instances and processing large datasets that are uploaded by users. However, the cost of maintaining these instances is increasing, and the maintenance of the processing code is also growing. What AWS managed service would allow you to reduce these costs and still process large datasets?

    1. EMR
    2. Memcache
    3. CloudFront
    4. BigData Processing Service
  81. You are in charge of building a business intelligence application that can handle multiple data sources and perform analytics at a large scale. Which of the following services and tools would allow you to build a cost-effective solution? (Choose two.)

    1. QuickSight
    2. Provisioned IOPS EBS volumes
    3. EC2 instances
    4. Redshift
  82. You have been tasked with combining several data sources into a single (optionally ephemeral) data store that you can then perform analysis on. You currently have data in RDS, two DynamoDB instances, and multiple S3 buckets. What is the most cost-effective approach to handling this task?

    1. A fleet of EC2 instances with throughput optimized SSD EBS volumes
    2. A combination of CloudWatch, Lambda, and custom code
    3. Redshift
    4. QuickSight
  83. Which of the following is the least expensive option for long-term data archival?

    1. EFS
    2. EBS snapshots
    3. Glacier
    4. Redshift
  84. Your company is paying a high cost for a consultant whose only job is the provisioning of resources for new cloud deployments. What AWS service would allow you to reduce this expenditure and move the consulting into more of a business-serving capacity?

    1. Elastic Beanstalk
    2. CloudTrail
    3. CloudShift
    4. CloudFormation
  85. You have been tasked with reducing the costs associated with a large fleet of EC2 instances that currently run several custom processes. These processes collect and collate data from a number of streaming data sources outside of your network. What AWS managed service could help replace these instances?

    1. CloudFront
    2. SDM
    3. Kinesis
    4. CloudFormation
  86. You have been tasked with reducing the cost of a large group of EC2 instances that each serves a single process. The process is fired off when a user initiates it through a web interface. Because these processes are initiated often, a large fleet of EC2 instances is kept active to serve the requests, incurring significant monthly costs. What managed service could help you reduce the costs of these always-running instances?

    1. Lambda
    2. CloudFront
    3. Kinesis
    4. CloudFormation
  87. You are in charge of a cloud migration from an on-premises data center to AWS. There are extensive software products used to monitor the on-premises applications, and you want to reduce the recurring costs associated with this monitoring. What AWS service would be ideal for this task?

    1. CloudTrail
    2. CloudMonitor
    3. AppMonitor
    4. CloudWatch
  88. You are in charge of a cloud migration from an on-premises data center to AWS. The system currently has a number of custom scripts that process system and application logs for auditing purposes. What AWS managed service could you use to replace these scripts and reduce the need for instances to run these custom processes?

    1. CloudTrail
    2. CloudMonitor
    3. AppMonitor
    4. CloudWatch
  89. You are the architect in charge of designing a database-driven application suite. As part of the project, you need to migrate a large Oracle database instance into the cloud. Further, you are migrating from Oracle to PostgreSQL. How would you most effectively accomplish this migration with the least expenditure?

    1. Copy the Oracle data to Snowball, send the data to AWS, move it into S3, and then import the data into PostgreSQL in RDS.
    2. Create an RDS Oracle instance in AWS, migrate the data from the existing Oracle instance to the new RDS instance, and then convert the RDS instance to PostgreSQL.
    3. Use the Database Migration Service to import the Oracle data directly into a new PostgreSQL instance.
    4. Create a local PostgreSQL instance, migrate the data locally from Oracle to PostgreSQL, and then move the PostgreSQL instance into AWS.
  90. You need to choose a scalable, cost-effective, and highly durable solution for storing flat files. What AWS service would you use?

    1. S3
    2. Kinesis
    3. DynamoDB
    4. Aurora
  91. You have been tasked with replacing a legacy LDAP directory server that manages users, groups, and permissions with a cloud-based solution in order to reduce maintenance costs for the current directory server. What AWS service should you investigate?

    1. IAM
    2. Cognito
    3. AWS Organizations
    4. AWS Directory Server
  92. You have been tasked with replacing a legacy LDAP directory server that manages users, groups, and permissions and provides single sign-on capabilities with a cloud-based solution in order to reduce maintenance costs for the current directory server and codebase. What AWS services should you investigate? (Choose two.)

    1. IAM
    2. Cognito
    3. AWS Organizations
    4. AWS Directory Server
  93. You are new on a project that makes heavy use of AWS. Your first priority is to reduce costs and identify security risks. What tool could you use to scan the existing environment and set initial priorities for change?

    1. CloudTrail
    2. Trusted Advisor
    3. AWS Organizations
    4. AWS Directory Server
  94. You are migrating a large on-premises application suite to AWS. Your company has made a significant investment in Chef for configuration and management and doesn’t want to lose the investment in time and money that the Chef tool represents. How could you preserve this functionality and keep costs low?

    1. CloudTrail
    2. CloudWatch
    3. OpsWorks
    4. Service Catalog
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.131.255