exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 99 discussion

A web-startup runs its very successful social news application on Amazon EC2 with an Elastic Load Balancer, an Auto-Scaling group of Java/Tomcat application- servers, and DynamoDB as data store. The main web-application best runs on m2 x large instances since it is highly memory- bound Each new deployment requires semi-automated creation and testing of a new AMI for the application servers which takes quite a while ana is therefore only done once per week.
Recently, a new chat feature has been implemented in nodejs and wails to be integrated in the architecture. First tests show that the new component is CPU bound Because the company has some experience with using Chef, they decided to streamline the deployment process and use AWS Ops Works as an application life cycle tool to simplify management of the application and reduce the deployment cycles.
What configuration in AWS Ops Works is necessary to integrate the new chat module in the most cost-efficient and flexible way?

  • A. Create one AWS OpsWorks stack, create one AWS Ops Works layer, create one custom recipe
  • B. Create one AWS OpsWorks stack create two AWS Ops Works layers, create one custom recipe
  • C. Create two AWS OpsWorks stacks create two AWS Ops Works layers, create one custom recipe
  • D. Create two AWS OpsWorks stacks create two AWS Ops Works layers, create two custom recipe
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
CloudFloater
Highly Voted 3 years, 7 months ago
B http://jayendrapatil.com/category/aws/opsworks/ Create one AWS Ops Works stack, create two AWS Ops Works layers create one custom recipe (Single environment stack, two layers for java and node.js application using built-in recipes and custom recipe for DynamoDB connectivity only as other configuration. Refer link)
upvoted 7 times
...
amministrazione
Most Recent 8 months, 3 weeks ago
B. Create one AWS OpsWorks stack create two AWS Ops Works layers, create one custom recipe
upvoted 1 times
...
hilft
2 years, 9 months ago
B. Start with one stack. Then two layers. No idea about the recipe. I think it is irrelevant here.
upvoted 2 times
...
DashL
3 years, 6 months ago
Ans A: Here is explanation. I am not able to post the whole explanation in one go. Here is Part-1. I have seen similar question in other websites and there is question is something like "To meet the growing number of support tickets being sent, it was decided that a new chat feature should be implemented as part of the customer support app, but should be hosted on a different set of servers". Note the key word "different set of servers" The stack is the top-level AWS OpsWorks Stacks entity. It represents a set of instances that you want to manage collectively, typically because they have a common purpose such as serving web applications. Each layer in a stack must have at least one instance and can optionally have multiple instances.
upvoted 1 times
...
DashL
3 years, 6 months ago
Ans A: Here is explanation. I am not able to post the whole explanation in one go. Here is Part-1. I have seen similar question in other websites and there is question is something like "To meet the growing number of support tickets being sent, it was decided that a new chat feature should be implemented as part of the customer support app, but should be hosted on a different set of servers". Note the key word "different set of servers" The stack is the top-level AWS OpsWorks Stacks entity. It represents a set of instances that you want to manage collectively, typically because they have a common purpose such as serving web applications. Each layer in a stack must have at least one instance and can optionally have multiple instances.
upvoted 1 times
DashL
3 years, 6 months ago
Ans A: Here is explanation. I am not able to post the whole explanation in one go. Here is Part-2. Every stack contains one or more layers, each of which represents a stack component, such as a load balancer or a set of application servers. Each instance in a stack must be a member of at least one layer, except for registered instances. You cannot configure an instance directly, except for some basic settings such as the SSH key and hostname. You must create and configure an appropriate layer, and add the instance to the layer. Recipes are Ruby applications that define a system's configuration. They install packages, create configuration files from templates, execute shell commands, create files and directories, and so on. You typically have AWS OpsWorks Stacks execute recipes automatically when a lifecycle event occurs on the instance but you can also run them explicitly at any time by using the Execute Recipes stack command.
upvoted 1 times
DashL
3 years, 6 months ago
Ans A: Here is explanation. I am not able to post the whole explanation in one go. Here is Part-3. In the scenario, an AMI should be deployed - so the AMI is part of the stack. it tells us that the chat feature should be implemented as part of the customer support application, but should be hosted on the same set of servers. if it is the same set of servers, it would be just one layer. But if there were two set of servers, it would have been two layers. This means that the chat feature is part of the stack, but should be in a different layer since it will be using a different set of servers. Hence, we have to use one stack and one layer and one recipe to meet the requirement.
upvoted 2 times
...
...
...
fullaws
3 years, 7 months ago
B is correct
upvoted 2 times
...
amog
3 years, 7 months ago
Answer is B Single environment stack, two layers for java and node.js application using built-in recipes and custom recipe for DynamoDB connectivity only as other configuration
upvoted 4 times
...
skywalker
3 years, 7 months ago
" a new chat feature" is added.. thus there is no need to create an another stack under OpsWork. Instead use the same stack under OpsWorks and create an additional layer for the new feature. Thus, my answer is B
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago