Assessment Test

  1. You have an application running on Amazon Elastic Compute Cloud (Amazon EC2) that needs read-only access to several AWS services. What is the best way to grant that application permissions only to a specific set of resources within your account?

    1. Use API credentials derived based on the AWS account.
    2. Launch the EC2 instance into an AWS Identity and Access Management (IAM) role and attach the ReadOnlyAccess IAM-managed policy.
    3. Declare the necessary permissions as statements in the AWS SDK configuration file on the EC2 instance.
    4. Launch the EC2 instance into an IAM role with custom IAM policies for the permissions.
  2. You have deployed a new application in the US West (Oregon) Region. However, you have accidentally deployed an Amazon Polly lexicon needed for your application in EU (London). How can you use your lexicon to synthesize speech while minimizing the changes to your application code and reducing cost?

    1. Point your SDK client to the EU (London) for all requests to Amazon Polly, but to US West (Oregon) for all other API calls.
    2. No action needed; the data is automatically available from all Regions.
    3. Upload a copy of the lexicon to US West (Oregon).
    4. Move the rest of the application resources to EU (London).
  3. When you’re placing subnets for a specific Amazon Virtual Private Cloud (Amazon VPC), you can place the subnets in which of the following?

    1. In any Availability Zone within the Region for the Amazon VPC
    2. In any Availability Zone in any Region
    3. In any AWS edge location
    4. In any specific AWS data center
  4. You have identified two Amazon Elastic Compute Cloud (Amazon EC2) instances in your account that appear to have the same private IP address. What could be the cause?

    1. These instances are in different Amazon Virtual Private Cloud (Amazon VPCs).
    2. The instances are in different subnets.
    3. The instances have different network ACLs.
    4. The instances have different security groups.
  5. You have a workload that requires 15,000 consistent IOPS for data that must be durable. What combination of the following do you need? (Select TWO.)

    1. Use an Amazon Elastic Block Store (Amazon EBS) optimized instance.
    2. Use an instance store.
    3. Use a Provisioned IOPS SSD volume.
    4. Use a previous-generation EBS volume.
  6. Your company stores critical documents in Amazon Simple Storage Service (Amazon S3), but it wants to minimize cost. Most documents are used actively for only about one month and then used much less frequently after that. However, all data needs to be available within minutes when requested. How can you meet these requirements?

    1. Migrate the data to Amazon S3 Reduced Redundancy Storage (RRS) after 30 days.
    2. Migrate the data to Amazon S3 Glacier after 30 days.
    3. Migrate the data to Amazon S3 Standard – Infrequent Access (IA) after 30 days.
    4. Turn on versioning and then migrate the older version to Amazon S3 Glacier.
  7. You are migrating your company’s applications and data from on-premises to the AWS Cloud. You have performed a data inventory and discovered that you will need to transfer about 2 PB of data to AWS. Which migration option will be the best choice for your company with minimal cost and shortest time?

    1. AWS Snowball
    2. AWS Snowmobile
    3. Upload files directly to AWS over the internet using Amazon Simple Storage Service (Amazon S3) Transfer Acceleration.
    4. Amazon Kinesis Data Firehose
  8. You are changing your application to take advantage of the elasticity and cost benefits provided by AWS Auto Scaling. To do this, you must move session state information from the individual Amazon Elastic Compute Cloud (Amazon EC2) instances. Which of the following AWS Cloud services is best suited as an alternative for storing session state information?

    1. Amazon DynamoDB
    2. Amazon Redshift
    3. AWS Storage Gateway
    4. Amazon Kinesis
  9. Your company’s senior management wants to query several data stores to obtain a “big picture” view of the business. The amount of data contained within the data stores is at least 2 TB in size. Which of the following is the best AWS service to deliver results to senior management?

    1. Amazon Elastic Block Store (Amazon EBS)
    2. Amazon Simple Storage Service (Amazon S3)
    3. Amazon Relational Database Service (Amazon RDS)
    4. Amazon Redshift
  10. Your ecommerce application provides daily and ad hoc reporting to various business units on customer purchases. These operations result in a high level of read traffic to your MySQL Amazon Relational Database Service (Amazon RDS) instance. What can you do to scale up read traffic without impacting your database’s performance?

    1. Increase the allocated storage for the Amazon RDS instance.
    2. Modify the Amazon RDS instance to be a Multi-AZ deployment.
    3. Create a read replica for an Amazon RDS instance.
    4. Change the Amazon RDS instance DB engine version.
  11. Your company has refactored their application to use NoSQL instead of SQL. They would like to use a managed service for running the new NoSQL database. Which AWS service should you recommend?

    1. Amazon Relational Database Service (Amazon RDS)
    2. Amazon Elastic Compute Cloud (Amazon EC2)
    3. Amazon DynamoDB
    4. Amazon Redshift
  12. A company is currently using Amazon Relational Database Service (Amazon RDS); however, they are retiring a database that is currently running. They have automatic backups enabled on the database. They want to make sure that they retain the last backup before deleting the Amazon RDS database. As the lead developer on the project, what should you do?

    1. Delete the database. Amazon RDS automatic backups are already enabled.
    2. Create a manual snapshot before deleting the database.
    3. Use the AWS Database Migration Service (AWS DMS) to back up the database.
    4. SSH into the Amazon RDS database and perform a SQL dump.
  13. When using Amazon Redshift, which node do you use to run your SQL queries?

    1. Compute node
    2. Cluster node
    3. Master node
    4. Leader node
  14. Your company is building a recommendation feature for their application. They would like to use an AWS managed graph database. Which service should you recommend?

    1. Amazon Relational Database Service (Amazon RDS)
    2. Amazon Neptune
    3. Amazon ElastiCache
    4. Amazon Redshift
  15. You have an Amazon DynamoDB table that has a partition key and a sort key. However, a business analyst on your team wants to be able to query the DynamoDB table with a different partition key. What should you do?

    1. Create a local secondary index.
    2. Create a global secondary index.
    3. Create a new DynamoDB table.
    4. Advise the business analyst that this is not possible.
  16. An application is using Amazon DynamoDB. Recently, a developer on your team has noticed that occasionally the application does not return the most up-to-date data after a read from the database. How can you solve this issue?

    1. Increase the number of read capacity units (RCUs) for the table.
    2. Increase the number of write capacity units (WCUs) for the table.
    3. Refactor the application to use a SQL database.
    4. Configure the application to perform a strongly consistent read.
  17. A developer on your team would like to test a new idea and requires a NoSQL database. Your current applications are using Amazon DynamoDB. What should you recommend?

    1. Create a new table inside DynamoDB.
    2. Use DynamoDB Local.
    3. Use another NoSQL database on-premises.
    4. Create an Amazon Elastic Compute Cloud (Amazon EC2) instance, and install a NoSQL database.
  18. The AWS Encryption SDK provides an encryption library that integrates with AWS Key Management Service (AWS KMS) as a master key provider. Which of the following operations does the AWS Encryption SDK perform to build on the AWS SDKs?

    1. Generates, encrypts, and decrypts data keys
    2. Uses the data keys to encrypt and decrypt your raw data
    3. Stores the encrypted data keys with the corresponding encrypted data in a single object
    4. All of the above
  19. Of all the cryptographic algorithms that the AWS Encryption SDK supports, which one is the default algorithm?

    1. AES-256
    2. AES-192
    3. AES-128
    4. SSH-256
  20. Amazon Elastic Block Store (Amazon EBS) volumes are encrypted by default.

    1. True
    2. False
  21. Which of the following cannot be retained when deleting an AWS Elastic Beanstalk environment?

    1. Source code from the Git repository
    2. Data from the automatic backups of an Amazon Relational Database Service (Amazon RDS) instance
    3. Packaged code from the source bundle stored in an Amazon Simple Storage Service (Amazon S3) bucket
    4. Data from the snapshot of an Amazon RDS instance
  22. Which of the following is not part of the AWS Elastic Beanstalk functionality?

    1. Notify the account user of language runtime platform changes
    2. Display events per environment
    3. Show instance statuses per environment
    4. Perform automatic changes to AWS Identity and Access Management (IAM) policies
  23. What happens to AWS CodePipeline revisions that, upon reaching a manual approval gate, are rejected?

    1. The pipeline continues.
    2. A notification is sent to the account administrator.
    3. The revision is treated as failed.
    4. The pipeline creates a revision clone and continues.
  24. Which of the following is an invalid strategy for migrating data to AWS CodeCommit?

    1. Incrementally committing files from a large repository
    2. Syncing the files from Amazon Simple Storage Service (Amazon S3) using the sync AWS CLI command
    3. Cloning an existing repository, updating the remote, and pushing
    4. Manually creating files in the AWS Management Console
  25. You have an AWS CodeBuild task in your pipeline that requires large binary files that do not frequently change. What would be the best way to include these files in your build?

    1. Store the files in your source code repository. They will be passed in as part of the revision.
    2. Store the files in an Amazon Simple Storage Service (Amazon S3) bucket and copy them during the build.
    3. Create a custom build container that includes the files.
    4. It is not possible to include files above a certain size.
  26. When you update an AWS::S3::Bucket resource, what is the expected behavior if the Name property is updated?

    1. The resource is updated with no interruption.
    2. The resource is updated with some interruption.
    3. The resource is replaced.
    4. The resource is deleted.
  27. What is the preferred method for updating resources created by AWS CloudFormation?

    1. Updating the resource directly in the AWS Management Console
    2. Submitting an updated template to AWS CloudFormation to modify the stack
    3. Updating the resource using the AWS Command Line Interface (AWS CLI)
    4. Updating the resource using an AWS Software Development Kit (AWS SDK)
  28. When does the AWS OpsWorks Stacks configure lifecycle event run?

    1. On individual instances immediately when they are first created
    2. On individual instances after a deploy lifecycle event
    3. On all instances in a stack when a single instance comes online or goes offline
    4. On all instances in a stack after a deploy lifecycle event
  29. Which non-Amazon Elastic Compute Cloud (Amazon EC2) AWS resources can AWS OpsWorks Stacks manage? (Select THREE.)

    1. Elastic IP addresses
    2. Amazon Elastic Block Store (Amazon EBS) volumes
    3. Amazon Relational Database Service (Amazon RDS) database instances
    4. Amazon ElastiCache clusters
    5. Amazon Redshift data warehouses
  30. Which AWS Cloud service can Simple Active Directory (Simple AD) use to authenticate users?

    1. Amazon WorkDocs
    2. Amazon Cognito
    3. Amazon Elastic Compute Cloud (Amazon EC2)
    4. Amazon Simple Storage Service (Amazon S3)
  31. What is the best application of Amazon Cognito?

    1. Use instead of Active Directory for AWS Identity and Access Management (IAM) users.
    2. Provide authentication to third-party web applications.
    3. Use as an Amazon Aurora database.
    4. Use to access objects in an Amazon Simple Storage Service (Amazon S3) bucket.
  32. You manage a sales tracking system in which point-of-sale devices send transactions of this form:

    • {"date":"2017-01-30", "amount":100.20, "product_id": "1012", "region": "WA", "customer_id": "3382"}
    • You need to generate two real-time reports. The first reports on the total sales per day for each customer. The second reports on the total sales per day for each product. Which AWS offerings and services can you use to generate these real-time reports?

    1. Ingest the data through Amazon Kinesis Data Streams. Use Amazon Kinesis Data Analytics to query for sales per day for each product and sales per day for each customer using SQL queries. Feed the result into two new streams in Amazon Kinesis Data Firehose.
    2. Ingest the data through Kinesis Data Streams. Use Kinesis Data Firehose to query for sales per day for each product and sales per day for each customer with SQL queries. Feed the result into two new streams in Kinesis Data Firehose.
    3. Ingest the data through Kinesis Data Analytics. Use Kinesis Data Streams to query for sales per day for each product and sales per day for each customer with SQL queries. Feed the result into two new streams in Kinesis Data Firehose.
    4. Ingest the data in Amazon Simple Queue Service (Amazon SQS). Use Kinesis Data Firehose to query for sales per day for each product and sales per day for each customer with SQL queries. Feed the result into two new streams in Kinesis Data Firehose.
  33. You design an application for selling toys online. Every time a customer orders a toy, you want to add an item into the orders table in Amazon DynamoDB and send an email to the customer acknowledging their order. The solution should be performant and cost-effective. How can you trigger this email?

    1. Use an Amazon Simple Queue Service (Amazon SQS) queue.
    2. Schedule an AWS Lambda function to check for changes to the orders table every minute.
    3. Schedule an Lambda function to check for changes to the orders table every second.
    4. Use Amazon DynamoDB Streams.
  34. A company would like to use Amazon DynamoDB. They want to set up a NoSQL-style trigger. Is this something that can be accomplished? If so, how?

    1. No. This cannot be done with DynamoDB and NoSQL.
    2. Yes, but not with AWS Lambda.
    3. No. DynamoDB is not a supported event source for Lambda.
    4. Yes. You can use Amazon DynamoDB Streams and poll them with Lambda.
  35. A company wants to access the infrastructure on which AWS Lambda runs. Is this possible?

    1. No. Lambda is a managed service and runs the necessary infrastructure on your behalf.
    2. Yes. They can access the infrastructure and make changes to the underlying OS.
    3. Yes. They need to open a support ticket.
    4. Yes, but they need to contact their Solutions Architect to provide access to the environment.
  36. Using the smallest amount of memory possible for an AWS Lambda function, currently 128 MB, will result in the lowest bill.

    1. True. Lambda bills based on the total memory allocated.
    2. False. Lambda has a flat rate—memory allocation is not important for billing, only performance.
    3. False. Lambda bills based on memory plus the number of times that you trigger the function.
    4. False. Lambda bills based on memory, the amount of compute time spent on a function in 100-ms increments, and the number of times that you execute or trigger a function.
  37. Which Amazon services can you use for caching? (Select TWO.)

    1. AWS CloudFormation
    2. Amazon Simple Storage Service (Amazon S3)
    3. Amazon CloudFront
    4. Amazon ElastiCache
  38. Which Amazon API Gateway feature enables you to create a separate path that can be helpful in creating a development endpoint and a production endpoint?

    1. Authorizers
    2. API keys
    3. Stages
    4. Cross-origin resource sharing (CORS)
  39. Which of the following methods does Amazon API Gateway support?

    1. GET
    2. POST
    3. OPTIONS
    4. All of the above
  40. Which authorization mechanisms does Amazon API Gateway support?

    1. AWS Identity and Access Management (IAM) policies
    2. AWS Lambda custom authorizers
    3. Amazon Cognito user pools
    4. All of the above
  41. Which tool can you use to develop and test AWS Lambda functions locally?

    1. AWS Serverless Application Model (AWS SAM)
    2. AWS SAM CLI
    3. AWS CloudFormation
    4. None of the above
  42. Which serverless AWS service can you use to store user session state?

    1. Amazon Elastic Compute Cloud (Amazon EC2)
    2. Amazon ElastiCache
    3. AWS Elastic Beanstalk
    4. Amazon DynamoDB
  43. Which AWS service can you use to store user profile information?

    1. Amazon CloudFront
    2. Amazon Cognito
    3. Amazon Kinesis
    4. AWS Lambda
  44. Which of the following objects are good candidates to store in a cache? (Select THREE.)

    1. Session state
    2. Shopping cart
    3. Product catalog
    4. Bank account balance
  45. Which of the following cache engines does Amazon ElastiCache support? (Select TWO.)

    1. Redis
    2. MySQL
    3. Couchbase
    4. Memcached
  46. How can you aggregate Amazon CloudWatch metrics across Regions?

    1. CloudWatch does not aggregate data across Regions.
    2. This is enabled by default.
    3. Send the metric data from other Regions to Amazon Simple Storage Service (Amazon S3) for retrieval by CloudWatch.
    4. Stream the metric data to Amazon Kinesis, and retrieve it using an AWS Lambda function.
  47. Why would an Amazon CloudWatch alarm report as INSUFFICIENT_DATA instead of OK or ALARM? (Select THREE.)

    1. The alarm was just created.
    2. The metric is not available.
    3. There is an AWS Identity and Access Management (IAM) permission preventing the metric from receiving data.
    4. Not enough data is available for the metric to determine the alarm state.
    5. The alarm period is missing.
  48. You were asked to develop an administrative web application that consumes low throughput and rarely receives high traffic. Which of the following instance type families will be the most optimized choice?

    1. Memory optimized
    2. Compute optimized
    3. General purpose
    4. Accelerated computing
  49. Which of the following AWS Cost Management Tools can you use to view your costs and find ways to take advantage of elasticity?

    1. AWS Cost Explorer
    2. AWS Trusted Advisor
    3. Amazon CloudWatch
    4. Amazon EC2 Auto Scaling
  50. Because cloud resources are easier to deploy and they incur usage-based costs, your organization is setting up good governance rules to manage costs. They are currently focusing on controlling and restricting Amazon Elastic Compute Cloud (Amazon EC2) instance deployments. Which of the following is an effective recommendation?

    1. Seek approval from Cost Engineering teams before deploying any EC2 instances.
    2. Use AWS Identity and Access Management (IAM) policies to enable engineers to deploy EC2 instances only when specific mandatory tags are used.
    3. Review Amazon CloudWatch metrics to optimize the resource utilization.
    4. Use AWS Cost Explorer usage and forecasting reports.
  51. Because your applications are showing a consistent steady-state compute usage, you have decided to purchase Amazon Elastic Compute Cloud (Amazon EC2) Reserved Instances to gain significant pricing discounts. Which of the following is not the best purchase option?

    1. All Upfront
    2. Partial Upfront
    3. No Upfront
    4. Pay-as-you-go
  52. Your application processes transaction-heavy and IOPS-intensive database workloads. You need to choose the right Amazon Elastic Block Store (Amazon EBS) volume so that application performance is not affected. Which of the following options would you suggest?

    1. HDD-backed storage (st1)
    2. SSD-backed storage (io1)
    3. Amazon Simple Storage Service (Amazon S3) Intelligent Tier class storage
    4. Cold HDD-backed storage (sc1)
  53. A legacy financial institution is planning for a huge technical upgrade and planning to go global. The architecture depends heavily on using caching solutions. Which one of the following services does not fit into the caching solutions?

    1. Amazon ElastiCache for Redis
    2. Amazon ElastiCache for Memcached
    3. Amazon DynamoDB Accelerator
    4. Amazon Elastic Compute Cloud (Amazon EC2) memory-optimized
  54. Which of the following characteristics separates Amazon DynamoDB from the Amazon Relational Database Service (Amazon RDS) design?

    1. Incurs the performance costs of an ACID-compliant transaction system
    2. Normalizes data and stores it on multiple tables
    3. Keeps related data together
    4. May require expensive joins
  55. Which of the following partition key choices is an inefficient design that leads to poor distribution of the data in an Amazon DynamoDB table?

    1. User ID, where the application has many users
    2. Device ID, where each device accesses data at relatively similar intervals
    3. Status code, where there are only a few possible status codes
    4. Session ID, where the user session remains distinct
  56. You are planning to build serverless backends by using AWS Lambda to handle web, mobile, Internet of Things (IoT), and third-party API requests. Which of the following are the main benefits in opting for a serverless architecture in this scenario? (Select THREE.)

    1. No need to manage servers
    2. No need to ensure application fault tolerance and fleet management
    3. No charge for idle capacity
    4. Flexible maintenance schedules
    5. Powered for high complex processing
  57. Your enterprise infrastructure has recently migrated to the AWS Cloud. You are now trying to optimize the storage solutions. Which of the following are the appropriate storage management tools that you can use to review and analyze the storage classes and access patterns usage to help reduce costs? (Select TWO.)

    1. Amazon Simple Storage Service (Amazon S3) analytics
    2. Cost allocation Amazon S3 bucket tags
    3. Amazon S3 Transfer Acceleration
    4. Amazon Route 53
    5. AWS Budgets
..................Content has been hidden....................

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