Cert Prep: Certified Cloud Practitioner for AWS Flashcards
How is Key Management Service (KMS) priced?
A. KMS is priced per KMS key; you are charged for the number of master keys maintained in KMS.
B. KMS is priced per data encryption keys; you are charged for the number of individual data keys maintained in KMS.
C. KMS is priced per number of encryption/decryption requests received from all services per month.
D. KMS is priced per KMS key and the number of requests received per month.
D. KMS is priced per KMS key and the number of requests received per month.
Explanation
KMS is priced per two factors: the number of KMS keys maintained in KMS and the number of requests received within a month.
You are migrating your business environment to the AWS Cloud. You have identified the resources that must be created in the AWS environment to support the migration. What tool could you use to help project future costs given this information?
A. Trusted Advisor
B. AWS Pricing Calculator
C. Cost Explorer
D. Detailed Billing Reports
B. AWS Pricing Calculator
Explanation:
The AWS Pricing Calculator is used to calculate projected costs, assuming you know what AWS resources you’ll be consuming.
AWS Trusted Advisor provides recommendations that help you follow AWS best practices. Trusted Advisor evaluates your account by using checks. It is not a method for evaluating the future costs of services in an AWS environment.
AWS Cost Explorer allows you to visualize, understand, and manage your AWS costs and usage over time, assuming you have already established AWS services.
Detailed billing reports are available to you once you have established services within AWS.
AWS WAF requires which other AWS service to deploy a security solution?
A. Amazon CloudFront
B. Amazon CloudWatch
C. AWS Lambda
D. Amazon SNS
A. Amazon CloudFront
Explanation
AWS WAF relies heavily on Amazon CloudFront distributions, to the point that if you don’t have a distribution configured then AWS WAF is essentially redundant. However, it’s worth mentioning that this relationship is only one way, meaning that Amazon CloudFront can operate and exist without AWS WAF being configured.
You have been asked to perform some penetration testing on your company’s AWS infrastructure. However, you are not sure who is responsible for this. Which statement describingthe AWS policy regarding penetration testing is correct?
A. Permission is required from AWS for all penetration testing.
B. AWS needs to perform the penetration tests.
C. You can always perform penetration testing with no prior AWS approval.
D. Penetration testing is possible withoutAWS approval depending on the services in use.
D. Penetration testing is possible withoutAWS approval depending on the services in use.
Explanation
There are several important things to note about penetration testing requests:
Permission may be required for penetration testing, depending on which AWS services are in use. To request permission, you must be logged into the AWS portal using the root credentials associated with the instances you wish to test, otherwise the form will not pre-populate correctly.
Which of the following statements best describes a key difference betweenElastic Beanstalk and CloudFormation?
A. CloudFormation offers more potential for customization than Elastic Beanstalk, because you can actually design and script yourself.
B. Elastic Beanstalk uses Elastic load balancing and CloudFormation doesn’t.
C. CloudFormation is faster in deploying applications than Elastic Beanstalk.
D. Elastic Beanstalk is faster in deploying applications than CloudFormation.
A. CloudFormation offers more potential for customization than Elastic Beanstalk, because you can actually design and script yourself.
Explanation:
These services are designed to complement each other. AWS Elastic Beanstalk provides an environment to easily develop and run applications in the cloud. It is integrated with developer tools and provides a one-stop experience for you to manage the lifecycle of your applications. AWS CloudFormation is a convenient deployment mechanism for a broad range of AWS resources. It supports the infrastructure needs of many different types of applications such as existing enterprise applications, legacy applications, applications built using a variety of AWS resources and container-based solutions (including those built using AWS Elastic Beanstalk).
AWS CloudFormation introduces two new concepts: The template, a JSON-format, text-based file that describes all the AWS resources you need to deploy to run your application and the stack, the set of AWS resources that are created and managed as a single unit when AWS CloudFormation instantiates a template
An enterprise using AWS has ten departments and wants to track the costs of each department. Which option meets this requirement?
A. Setup IAM groups for each department and track their usage
B. Setup IAM users for each department and track their usage
C. Create separate accounts for each department and track them separately
D. Create separate accounts for each department and use consolidated billing for payment and tracking
D. Create separate accounts for each department and use consolidated billing for payment and tracking
Explanation
The cost of an IAM user or groups can never be tracked separately for the purpose of billing. The best solution, in this case, is to create a separate account for each department and use consolidated billing.
You have a time-sensitivedevelopment question involving system issues and you decide that you need some support from AWS. Which is the most appropriate of the following severity levels to assist you in resolving the issue?
A. System impaired
B. Production system impaired
C. Production system down
D. Business-critical system down
A. System impaired
Explanation
In regards to AWS support, if you have a problem which meets any of the following, it is considered a system impairedpriority.
You can work around the problem Non-critical functions of your application are behaving abnormally. You have a time-sensitive development question. (Developer, Business, and Enterprise)
Which of the following best describes the relationship between regions and Availability Zones?
A. Each region is completely independent and each Availability Zone is isolated, but the Availability Zones in a region are connected through low-latency links.
B. Each region is completely independent and Availability Zones are never isolated, but the Availability Zones in a region are connected through low-latency links.
C. Each region may be dependent on another region, each Availability Zone is isolated, and the Availability Zones in a region are not connected.
D. Each region may be dependent on another region, and each Availability Zone is completely independent.
A. Each region is completely independent and each Availability Zone is isolated, but the Availability Zones in a region are connected through low-latency links.
Explanation
Each region is completely independent and each Availability Zone is isolated, but the Availability Zones in a region are connected through low-latency links.
What is NOT a feature of Amazon Inspector?
A. built-in rules library
B. expandable rules library allowing for custom policy rules
C. ability to publish findings through SNS
D. automate via API
B. expandable rules library allowing for custom policy rules
Explanation
Amazon Inspector has a fixed built-in library of best practices and rules. Currently it doesn’t support any custom rules beyond this default set.
___________ are predefined, out-of-the-box policies that grant permissions for common use cases to eliminate the need to determine what permissions are needed.
A. Customer managed policies
B. AWS managed policies
C. Inline policies
D. Resource policies
B. AWS managed policies
Explanation
AWS managed policies are predefined by AWS, and grant permissions for common use cases so you can avoid having to determine what permissions are needed. For ElastiCache, AWS provides the following managed policies: AmazonElastiCacheReadOnlyAccess and AmazonElastiCacheFullAccess.
When deploying a new environment within AWS, what does “think parallel” mean?
A. Test with new deployments and eliminate existing systems to confirm desired outcomes before scaling fully.
B. Test changes and validate the results at all lifecycle stages to confirm new features and minimize failed deployments.
C. Maintain the prior environment until there is confirmation of successful deployment.
D. Automate testing of deployed environments to confirm desired outcomes.
C. Maintain the prior environment until there is confirmation of successful deployment.
Explanation
When deploying a new environment within AWS, one aspect of the concept “think parallel” means maintaining the prior environment while testing and deploying a new one in order to reduce various risks associated with architecting the new environment.
A user is uploading a backup of data to S3 Glacier as part of a disaster recovery plan. The data stored in S3 Glacier is part of a larger data recovery plan that involves other AWS services.There is a relatively small set of data (100 MB) that needs to be restored immediately when a disaster recoveryplan is executed, and the organization is planning a recovery time objective (RTO) of 1 hour.Assuming the data size meets the requirements for any of the given retrieval options below, which S3 Glacier data retrieval option would you plan in the event of a disaster?
A. Use Expedited retrievals without Provisioned Capacity
B. Use Expedited Retrievals with Provisioned Capacity
C. Use Bulk retrievals
D. Use Standard retrievals
C. Use Expedited Retrievals with Provisioned Capacity
Explanation
There are three retrieval options with Amazon S3 Glacier:
Expedited — There are two types of Expedited retrievals: On-Demand and Provisioned. On-Demand requests are similar to EC2 On-Demand instances and are available most of the time. Provisioned requests are guaranteed to be available when you need them, which is recommended for a DR plan. Standard — Standard retrievals allow you to access any of your archives within several hours. Bulk — Bulk retrievals are Amazon S3 Glacier’s lowest-cost retrieval option, which you can use to retrieve large amounts, even petabytes, of data inexpensively in a day. Bulk retrievals typically complete within 5–12 hours.
What service is used to store the log files generated by CloudTrail?
A. Amazon EFS
B. Amazon S3
C. Amazon RDS
D. Amazon EBS
B. Amazon S3
Explanation
The AWS CloudTrail uses Amazon’s Simple Storage Service (S3) to store log files. It also supports the use of S3 life cycle configuration rules to reduce storage costs.
Which service provides durablestorage volumes you can attach to a running instance and which persist beyond the life of the instance?
A. Amazon Elastic Block Store (EBS)
B. Amazon EC2 Instance Store
C. Elastic File System (EFS)
D. Amazon FSx
A. Amazon Elastic Block Store (EBS)
Explanation
Amazon EBS provides durable, block-level storage volumes that you can attach to a running instance. You can use Amazon EBS as a primary storage device for data that requires frequent and granular updates. For example, Amazon EBS is the recommended storage option when you run a database on an instance.An EBS volume behaves like a raw, unformatted, external block device that you can attach to a single instance. The volume persists independently from the running life of an instance.
An organization has launched a large EC2 instance froman EBS-backed AMI. The organization wants to ensure that even when thisinstance is terminated, all the critical data will be saved. How can they ensure the EBS volume persists after the instance is terminated?
A. Migrate all log files from the ephemeral drive to the EBS volume
B. Set the volume’s DeleteOnTermination flag to ‘False’
C. Take a frequent snapshots of the EBS volume
D. Migrate important data to S3 for higher durability
B. Set the volume’s DeleteOnTermination flag to ‘False’
Explanation
AWS provides an on demand, scalable infrastructure. Amazon EC2 allows the user to launch On-Demand instances and the organization should create an AMI of the running instance. If the organization has launched an instance with the EBS root device and an additional ephemeral drive, it is advised that the organization should keep taking a backup of all critical ephemeral data to EBS. The organization should also keep moving important data to S3 for higher durability. In this way even if the application fails the data can be restored. For the EBS backup, the organization should always take a snapshot at regular intervals.
Since the organization is launching an instance with an EBS based root device, by default the DeleteOnTermination flag is set to True. In the present scenario if the instance gets terminated the EBS will also be deleted.
It is recommended to have the flag as False so that when the instance is terminated it will not delete the volume
Vital functions of your application are unavailable,you can’t work around the problem, and your business is at risk. You decide that you need some support from AWS. Which of the following severity levels do you think would be an appropriate choice for this issue?
A. General guidance
B. Production system impaired
C. Production system down
D. Business-critical system down
D. Business-critical system down
Explanation
In the context of AWS support, if you have a problem which meets any of the following, then the severity level is ‘business-critical system down.’
You can't work around the problem, and your business is at risk. Critical functions of your application are unavailable. (Enterprise)
What two options does RDS offer to backup information stored on DB instances? (Choose 2 answers)
A. Automated backup
B. DB snapshots
C. DB versioning
D. DB read replicas
A. Automated backup
Explanation
The two methods for backing up information stored on RDS DB instances are automated backups and DB snapshots. Automated backup is a managed process where RDS creates standby instances of any and all instances selected for Multi-Availability Zone (AZ) deployment rather than Single-AZ deployment.
DB snapshots are also copies of the DB instance, but snapshots are manual processes, and snapshots can be stored in availability zones or regions selected by the user.
DB versioning is not a method of backing up RDS DB instances. Versioning is a method for backing up objects stored in S3.
DB read replicas are not a method of backing up RDS DB instances. Read replicas allow databases to manage a level of read requests for a database that extends beyond an individual DB instance’s capability.
When using Amazon Glacier’s standard retrieval option, which of the following statements is correct?
A. Amazon Glacier takes 3-5 hours to retrieve data.
B. Amazon Glacier takes 5 minutes to retrieve data.
C. Amazon Glacier takes 5-12 hours to retrieve data.
D. Amazon Glacier takes 1 hour to retrieve data.
A. Amazon Glacier takes 3-5 hours to retrieve data.
Explanation
Amazon Glacier is an extremely low-cost storage service that provides secure and durable storage for data archiving and backup. To keep costs low, Amazon Glacier is optimized for data that is infrequently accessed and for which retrieval times of several hours are suitable. The standard retrieval option, which is the default option, takes 3-5 hours to complete. The other options are expedited, which downloads a small amount of data (250 MB maximum) in 5 minutes, and bulk, which downloads large amounts of data (petabytes) in 5-12 hours.
Your company wants you to choose an AWS support plan that includes a dedicated support team to review the account and provide recommendations for account optimization. Which of the following support levels should you choose?
A. Developer-level Support
B. Enterprise-level Support
C. Customer-level Support
D. Business-level Support
B. Enterprise-level Support
Explanation
Enterprise-level Support customers have access to Concierge Support to assist with AWS account reviews and provide recommendations for optimization.
Which of the following statements is true of an Auto Scaling group?
A. An Auto Scaling group cannot span multiple regions.
B. An Auto Scaling group delivers log files within 30 minutes of an API call.
C. Auto Scaling publishes new log files about every 15 minutes.
D. An Auto Scaling group cannot be configured to scale automatically.
A. An Auto Scaling group cannot span multiple regions.
Explanation
An Auto Scaling group can contain EC2 instances that come from one or more Availability Zones within the same region. However, an Auto Scaling group cannot span multiple regions.
When you launch an instance using Amazon EC2, you must specify a geographic region in which to launch the instance, and a corresponding ____, which is an isolated location in that region where the physical hardware on which the instance will be launched is located.
A. availability zone
B. sub-region
C. subnet
D. sector
A. availability zone
Explanation
Amazon EC2 is hosted in multiple locations worldwide. These locations are composed of regions and Availability Zones. Each region is a separate geographic area. Each region has multiple, isolated locations known as Availability Zones. Each region is completely independent. Each Availability Zone is isolated, but the Availability Zones in a region are connected through low-latency links.
Which choice is a stated benefit of using AWS?
A. reduced effort to meet compliance requirements
B. data center servers specifically for your account
C. security configuration is entirely managed by AWS
D. system compliance is entirely managed by AWS
A. reduced effort to meet compliance requirements
Explanation
AWS services are designed to comply with common compliance regulations, such as PCI DSS level. You will have to configure services to meet your specific compliance needs, but segments of your IT system on AWS should comply will several standard compliance regulations immediately.
You can request dedicated instances, but you cannot select specific data centers for your account, and with the Shared Responsibility Model, AWS will not assist you in configurations to meet your security or compliance requirements.
Important functions of your application are unavailable. You cannot work around the problem, and your business is significantly impacted. You decide that you need support from AWS. Which of the following severity levels do you think would be an appropriate choice for this issue?
A. Guidance
B. System impaired
C. Production system down
D. Business-critical system down
C. Production system down
Explanation
In the context of AWS support, if you have a problem that meets any of the following criteria, the severity level will be ‘Production system down’.
You can't work around the problem, and your business is significantly impacted. Important functions of your application are unavailable. (Business and Enterprise)
_______ are objects created within IAM which have policy permissions associated to them. While they can be associated with users as groups are, they can also beassigned to instances at the time of launch.
A. IAM roles
B. IAM groups
C. IAM users
D. IAM organizations
A. IAM roles
Explanation:
IAM Roles are objects created within IAM which have Policy permissions associated to them. However, instead of just being associated with users as groups are, roles can be assigned to instances at the time of launch. This allows the instance to adopt the permissions given by the role without the need to have access keys stored locally on the instance.
IAM Users are account objects that allow an individual user to access your AWS environment with a set of credentials. You can issue user accounts to anyone you want to view or administer objects and resources within your AWS environment. Permissions can be applied individually to a user, but the best practice for permission assignments is to add the user to an IAM Group.
IAM Groups are objects that have permissions assigned to them via Policies allowing the members of the Group access to specific resources. Having Users assigned to these groups allows for a uniform approach to access management and control.
In which componentdo users storedatain Amazon Glacier, similarto anS3 bucket?
A. a vault
B. an archive
C. a group
D. a container
A. a vault
Explanation:
The Amazon Glacier data model core concepts include vaults and archives. The vault is analogous to the S3 buckets as it also stores the archives like a bucket.
What choice below accurately describes the ‘pilot light’ disaster recovery method?
A. A scaled-down version of your entire system in another region that can be scaled with minimal recovery time.
B. Backingup data to tape and to be sent offsite regularly, from which all data can be restored in the event of a disaster.
C. A very smallreplicaof only your business-critical systems that is always running in another region, in case you need to divert your workloads there in the event of a disaster.
D. A complete duplicate of your entire system in another region, to which all traffic can be directed in the event of a disaster.
C. A very smallreplicaof only your business-critical systems that is always running in another region, in case you need to divert your workloads there in the event of a disaster.
Explanation:
The idea of the pilot light is an analogy that comes from gas heating. In that scenario, a small flame that’s always on can quickly ignite the entire furnace to heat up a house. In this DR approach, you simply replicate part of your IT structure for a limited set of core services so that the AWS cloud environment seamlessly takes over in the event of a disaster. A small part of your infrastructure is always running simultaneously syncing mutable data (as databases or documents), while other parts of your infrastructure are switched off and used only during testing. Unlike a backup and recovery approach, you must ensure that your most critical core elements are already configured and running in AWS (the pilot light). When the time comes for recovery, you can rapidly provision a full-scale production environment around the critical core.