Browse SAP Questions
Study all 100 questions at your own pace with detailed explanations
Total: 100 questionsPage: 9 of 10
Question 81 of 100
Refer to the architecture diagram of a batch processing solution using Simple Queue Service (SQS) to set up a message queue between EC2 instances, which are used as batch processors. CloudWatch monitors the number of Job requests (queued messages) and an Auto Scaling group adds or deletes batch servers automatically based on parameters set in Cloud Watch alarms. You can use this architecture to implement which of the following features in a cost effective and efficient manner?
AReduce the overall time for executing jobs through parallel processing by allowing a busy EC2 instance that receives a message to pass it to the next instance in a daisy-chain setup.
BImplement fault tolerance against EC2 instance failure since messages would remain in SQS and worn can continue with recovery of EC2 instances implement fault tolerance against SQS failure by backing up messages to S3.
CImplement message passing between EC2 instances within a batch by exchanging messages through SOS.
DCoordinate number of EC2 instances with number of job requests automatically thus Improving cost effectiveness
EHandle high priority jobs before lower priority jobs by assigning a priority metadata field to SQS messages.
đź’ˇ Try to answer first, then click "Show Answer" to see the correct answer and explanation
Question 82 of 100
Your mission is to create a lights-out datacenter environment, and you plan to use AWS OpsWorks to accomplish this. First you created a stack and added an App Server layer with an instance running in it. Next you added an application to the instance, and now you need to deploy a MySQL RDS database instance. Which of the following answers accurately describe how to add a backend database server to an OpsWorks stack? Choose 3 answers
AAdd a new database layer and then add recipes to the deploy actions of the database and App Server layers.
BUse OpsWorks’ “Clone Stack” feature to create a second RDS stack in another Availability Zone for redundancy in the event of a failure in the Primary AZ. To switch to the secondary RDS instance, set the [:database] attributes to values that are appropriate for your server, which you can do by using custom JSON.
CThe variables that characterize the RDS database connection—host, user, and so on—are set using the corresponding values from the deploy JSON’s [:deploy][:app_name][:database] attributes.
DCookbook attributes are stored in a repository, so OpsWorks requires that the “password”: “your_password” attribute for the RDS instance must be encrypted using at least a 256-bit key.
ESet up the connection between the app server and the RDS layer by using a custom recipe. The recipe configures the app server as required, typically by creating a configuration file. The recipe gets the connection data such as the host and database name from a set of attributes in the stack configuration and deployment JSON that AWS OpsWorks installs on every instance.
đź’ˇ Try to answer first, then click "Show Answer" to see the correct answer and explanation
Question 83 of 100
Your company asked you to create a mobile feedback application. The application is built to work with DynamoDB as the backend and JavaScript as the frontend. During the usage of the application you notice that there are spikes in the application, especially in the DynamoDB area. Which TWO options provide a cost effective and scalable architecture for this application?
AEnable DynamoDB Auto Scaling to meet the requirements
BIncrease write capacity of DynamoDB to meet the peak loads
CCreate a service that pulls SQS messages and writes these to DynamoDB to handle sudden spikes in DynamoDB
DLaunch DynamoDB in Multi-AZ configuration with a global index to balance writes
đź’ˇ Try to answer first, then click "Show Answer" to see the correct answer and explanation
Question 84 of 100Multiple Choice
A video-sharing mobile application uploads files greater than 10 GB to an Amazon S3 bucket. However, when using the application in locations far away from the S3 bucket region, uploads take extended periods of time, and sometimes fail to complete. Which combination of methods would improve the performance of uploading to the application? (Select TWO.)
AConfigure an S3 bucket in each region to receive the uploads, and use cross-region replication to copy the files to the distribution bucket.
BModify the application to add random prefixes to the files before uploading.
CSet up Amazon Route 53 with latency-based routing to route the uploads to the nearest S3 bucket region.
DEnable S3 Transfer Acceleration on the S3 bucket, and configure the application to use the Transfer Acceleration endpoint for uploads.
EConfigure the application to break the video files into chunks and use a multipart upload to transfer files to Amazon S3.
đź’ˇ Try to answer first, then click "Show Answer" to see the correct answer and explanation
Question 85 of 100
A company has developed a Ruby on Rails content management platform. Currently, OpsWorks with several stacks for dev, staging, and production is being used to deploy and manage the application. Now, the company wants to start using Python instead of Ruby. How should the company manage the new deployment such that it should be able to revert back to the old application with Ruby if the new deployment starts adversely impacting the existing customers?
ACreate a new stack that contains the Python application code and manages separate deployments of the application via the secondary stack using the deploy lifecycle action to implement the application code.
BCreate a new stack that contains a new layer with the Python code. Route only a small portion of the production traffic to use the new deployment stack. Once the application is validated, slowly increase the production traffic to the new stack using the Canary Deployment. Revert to the old stack, if the new stack deployment fails or does not work.
CCreate a new stack that contains the Python application code. Route all the traffic to the new stack at once so that all the customers get to access the updated application.
DUpdate the existing host instances of the application with the new Python code. This will save the cost of having to maintain two stacks, hence cutting down on the costs.
đź’ˇ Try to answer first, then click "Show Answer" to see the correct answer and explanation
Question 86 of 100
You have set up your company in AWS Organizations in a hierarchical manner. You now need to move an account from one organization to another organization. How can you do this with as little effort as possible?
AYou can not do it. Delete the account and re-create it in the organization where you want it.
BHave the account request membership in the new organization.
CFirst, remove the account from your organization and make it a standalone account. After making the account standalone, it can then be invited to join another organization.
DHave the new organization send the account an invitation to join the new organization.
đź’ˇ Try to answer first, then click "Show Answer" to see the correct answer and explanation
Question 87 of 100Multiple Choice
Your mobile application includes a photo-sharing service that is expecting tens of thousands of users at launch. You will leverage Amazon Simple Storage Service (S3) for storage of the user Images, and you must decide how to authenticate and authorize your users for access to these images. You also need to manage the storage of these images. Which two of the following approaches should you use? (Choose two)
ACreate an Amazon S3 bucket per user, and use your application to generate the S3 URI for the appropriate content.
BUse AWS Identity and Access Management (IAM) user accounts as your application-level user database, and offload the burden of authentication from your application code.
CAuthenticate your users at the application level, and use AWS Security Token Service (STS) to grant token-based authorization to S3 objects.
DAuthenticate your users at the application level, and send an SMS token message to the user. Create an Amazon S3 bucket with the same name as the SMS message token, and move the user’s objects to that bucket.
EUse a key-based naming scheme comprised from the user IDs for all user objects in a single Amazon S3 bucket.
đź’ˇ Try to answer first, then click "Show Answer" to see the correct answer and explanation
Question 88 of 100
Which of the following is not one of the ways to minimize the attack surface area as a DDOS minimization strategy in AWS? Choose the correct answer from the options below
AConfigure services such as Elastic Load Balancing and Auto Scaling to automatically scale.
BReduce the number of necessary Internet entry points.
CSeparate end user traffic from management traffic.
DEliminate non-critical Internet entry points.
đź’ˇ Try to answer first, then click "Show Answer" to see the correct answer and explanation
Question 89 of 100
A company runs a sensitive application on Amazon EC2 instances in a VPC. The company wants to monitor and analyze network traffic for possible threats. The solution must: Require minimal development and administration. Scale to accommodate large amounts of network traffic. Allow queries and visualizations of the data. Which solution will meet these requirements?
ACreate a flow log for the VPC and publish it to an Amazon DynamoDB table. Use an AWS Lambda function to read the data from the DynamoDB stream and write the log data to a table in Amazon Aurora. Connect the database from Amazon QuickSight to visualize the data.
BCreate a flow log for the VPC and publish it to an Amazon S3 bucket. Create an external table in Amazon Athena to query the log files, and connect to Amazon Athena from Amazon QuickSight to visualize the data.
CUse Amazon Kinesis Data Streams to capture the log files from Amazon CloudWatch. Use Amazon Kinesis Data Firehose to push the log files to Amazon S3. Create an external table in Amazon Athena to query the log files, and connect to Amazon Athena from Amazon QuickSight to visualize the data.
DCreate a flow log for the VPC and publish it into an in-memory Spark application running on an Amazon EMR cluster. Connect to the cluster from Amazon QuickSight to visualize the data using Spark SQL.
đź’ˇ Try to answer first, then click "Show Answer" to see the correct answer and explanation
Question 90 of 100
You're working as a consultant for a company designing a new hybrid architecture to manage part of their application infrastructure in the cloud and on-premise. As part of the infrastructure, they need to consistently transfer high amounts of data. They require a low latency and high consistency traffic to AWS. The company is looking to keep costs as low possible and is willing to accept slow traffic in the event of primary failure. Given these requirements how would you design a hybrid architecture? Choose the correct answer from the options below
AProvision a Direct Connect connection to an AWS region using a Direct Connect partner. Provision a VPN connection as a backup in the event of Direct Connect connection failure.
BCreate a dual VPN tunnel for private connectivity, which increases network consistency and reduces latency. The dual tunnel provides a backup VPN in the case of primary failover.
CProvision a Direct Connect connection which has automatic failover and backup built into the service.
DProvision a Direct Connect connection to an AWS region using a Direct Connect provider. Provision a secondary Direct Connect connection as a failover.
đź’ˇ Try to answer first, then click "Show Answer" to see the correct answer and explanation