The operations manager asks you for a list of recommended practices that she should consider when migrating a J2EE application to the cloud. Which three practices should you recommend? (Choose three.)
A.
Port the application code to run on Google App Engine
B.
Integrate Cloud Dataflow into the application to capture real-time metrics
C.
Instrument the application with a monitoring tool like Stackdriver Debugger
D.
Select an automation framework to reliably provision the cloud infrastructure
E.
Deploy a continuous integration tool with automated testing in a staging environment
F.
Migrate from MySQL to a managed NoSQL database like Google Cloud Datastore or Bigtable
This is talking about the APPLICATION not the infrastructure, therefore I believe we should focus on the APP-side of things:
1. port the app to app engine for content delivery
2. add monitoring for troubleshooting
3. use a CI/CD workflow for continuous delivery w/testing for a stable application
so, for me: A, C and E should be the answers
Let's go with option elimination
A. Port the application code to run on Google App Engine
>> PaaS serverless managed service, so all my infra provisioning is taken care by GCP.
B. Integrate Cloud Dataflow into the application to capture real-time metrics
>> Good to have
C. Instrument the application with a monitoring tool like Stackdriver Debugger
>> Is a must for debugging issues and monitoring application logs this is now GCP Cloud monitoring and logging.
D. Select an automation framework to reliably provision the cloud infrastructure
>> App Engine is a PaaS so the infrastructure is taken care of by App Engine, I would select this if I have not selected A, hence will eliminate this option for now
E. Deploy a continuous integration tool with automated testing in a staging environment
>> Good to have
F. Migrate from MySQL to a managed NoSQL database like Google Cloud Datastore or Bigtable
>> There is no requirement for DB enhancement hence will elimination this option
A and C are must-have
B and E are Good to have, but E has more importance than Big
Hence will go with ACE
Answer is : C, D, E.
C. Instrument the application with a monitoring tool like Stackdriver Debugger: Visibility is key in the cloud. Tools like Stackdriver Debugger (now called Cloud Debugger) allow you to inspect the state of your application in real-time without stopping or slowing it down.
D. Select an automation framework to reliably provision the cloud infrastructure: Manual configuration is error-prone and doesn't scale. Infrastructure-as-code tools like Terraform or Deployment Manager let you define your infrastructure in code, making it repeatable, version-controlled, and easier to manage.
E. Deploy a continuous integration tool with automated testing in a staging environment: A robust CI/CD pipeline is essential for rapid and reliable deployments. Automated testing in a staging environment that mirrors production helps catch issues early, ensuring a smoother transition and reducing the risk of production outages.
I chose ACE, but ADE make sense.
A. Port the application code to run on Google App Engine.
Ok. It's a good practice use managed services when possible, we shouldn't worry about infrastructure.
B. Integrate Cloud Dataflow into the application to capture real-time metrics.
No Ok. It's just a J2EE application, the question says nothin about a batch or stream pipeline or real-time in insight.
C. Instrument the application with a monitoring tool like Stackdriver Debugger.
No Ok. App Engine already have natively logging and monitoring, we only have to enable debugger to fix some problem.
D. Select an automation framework to reliably provision the cloud infrastructure.
Ok. It's a good practice use IaC (infrastructure as code).
E. Deploy a continuous integration tool with automated testing in a staging environment.
Ok. It's a good practice use CI/CD and tests.
F. Migrate from MySQL to a managed NoSQL database like Google Cloud Datastore or Bigtable.
No Ok. The question says nothin about Database.
Absolutely different:
B No need to use DataFlow
F No need to use NOSQL.We should use CloudSQL.
Absolutely Correct:A、E
A First Step.
I'm at a loss:C,D,E
C It is microservices app best practice.App Engine is microservices app.
AndIt is also written on this page.(Configuring your App with app.yaml)
D This is Correct, but App Engine does it automatically.
E Automatically test is a Java best practice.
I voted ADE.
A - App Engine could be used for J2EE application
B - Dataflow is not used for real-time metrics
C - Debugger is not used for monitoring
D - Good practice
E - Good practice
F - Depends on the situation but I don't think Datastore or BigTable is a good choice for MySQL migration
I voted ADE.
A - App Engine could be used for J2EE application
B - Dataflow is not used for real-time metrics
C - Debugger is not used for monitoring
D - Good practice
E - Good practice
F - Depends on the situation but I don't think Datastore or BigTable is a good choice for MySQL migration
I think it is ACE
A. Port the application code to run on Google App Engine - Correct - Best Practice to migrate J2EE app to APP engine.
B. Integrate Cloud Dataflow into the application to capture real-time metrics - Incorrect - Cloud Data flow in not relevant in migrating existing J2EE app to cloud
C. Instrument the application with a monitoring tool like Stackdriver Debugger - Correct - Only because it is relevant in this use case of migrating J2EE app to GAE have to 3 best answers. otherwise App engine is already enabled with Debugger by default, Nothing to do extra.
D. Select an automation framework to reliably provision the cloud infrastructure - Incorrect - As APP enigne is managed service no requirement to automate provision of infrastructure.
E. Deploy a continuous integration tool with automated testing in a staging environment - Correct - This is a best practice for using a cloud native CI/CD
D: Automation frameworks can help you reliably provision the necessary cloud infrastructure for your application, ensuring that the migration process is smooth and consistent.
E: Continuous integration tools can help you automate the testing process, ensuring that your application is properly tested before it is deployed to the cloud. A staging environment can provide a separate testing environment that is isolated from the production environment, allowing you to test your application before it goes live.
C: Monitoring tools like Stackdriver Debugger can help you identify and troubleshoot issues with your application after it is migrated to the cloud. This can help ensure that your application is running smoothly and efficiently in the cloud.
Other practices, such as porting the application code to run on Google App Engine, integrating Cloud Dataflow into the application to capture real-time metrics, or migrating from MySQL to a managed NoSQL database like Google Cloud Datastore or Bigtable, may not be necessary for all J2EE applications and may depend on the specific requirements and goals of the migration.
CDE
The three recommended practices you should recommend to the operations manager are:
C. Instrument the application with a monitoring tool like Stackdriver Debugger: Monitoring the application's performance and health is crucial for identifying and resolving issues quickly. Stackdriver Debugger provides detailed insights into the application's behavior, helping diagnose performance bottlenecks and debug errors.
D. Select an automation framework to reliably provision the cloud infrastructure: Automating infrastructure provisioning reduces manual effort and ensures consistent configuration across environments. This can be achieved using tools like Terraform or Ansible.
E. Deploy a continuous integration tool with automated testing in a staging environment: Continuous integration and continuous delivery (CI/CD) pipelines automate the build, test, and deployment process, ensuring code changes are delivered reliably and with minimal downtime. Automated testing in a staging environment helps identify and fix regressions before they impact production.
CDE
C: Monitoring tools like Stackdriver (now Google Cloud Operations) help track the application's performance
D: Automation frameworks (such as Terraform or Google Deployment Manager) for your environment is reproducible and can be scaled or modified with minimal manual intervention.
E : is crucial to ensure that the application functions correctly after migration and during subsequent updates
Question: wouldn't porting/running the application on App engine take care of monitoring and health checks?
CDE is good but
C is manual process considering that monitoring and health checks can be taken care by APP engine itself
So maybe ADE
Also I searched "J2EE application on google" and all I could see was trail of App engine recommendations links.
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.
NapoleonBorntoparty
Highly Voted 2 months agosegkhachat
1 year, 8 months agoamxexam
Highly Voted 3 years, 3 months agoKV_2001
Most Recent 4 days, 15 hours agoEkramy_Elnaggar
1 week, 4 days agonareshthumma
4 weeks agoehgm
2 months agoOrangeTiger
2 months agoGini
2 months agoH_S
2 months agoSureshbabuK
2 months agonosense
1 year, 12 months agoomermahgoub
2 months agoomermahgoub
1 year, 11 months agosam422
2 months agomaxdanny
2 months agoHungdv
3 months, 2 weeks agomonus
3 months, 3 weeks agoperceptrooon
4 months, 3 weeks agoTapendu
5 months ago